The RoleController type exposes the following members.

Methods

  NameDescription
Public methodAddRole(RoleInfo)
Public methodAddRole(RoleInfo, Boolean) Obsolete.
Public methodStatic memberAddRoleGroup
Adds a Role Group
Public methodAddUserRole(Int32, Int32, Int32, DateTime) Obsolete.
Public methodAddUserRole(Int32, Int32, Int32, DateTime, DateTime)
Public methodAddUserRole(Int32, Int32, Int32, RoleStatus, Boolean, DateTime, DateTime)
Public methodStatic memberAddUserRole(UserInfo, RoleInfo, PortalSettings, DateTime, DateTime, Int32, Boolean) Obsolete.
Public methodStatic memberAddUserRole(UserInfo, RoleInfo, PortalSettings, RoleStatus, DateTime, DateTime, Boolean, Boolean)
Adds a User to a Role
Public methodStatic memberCanRemoveUserFromRole(PortalInfo, Int32, Int32)
Determines if the specified user can be removed from a role
Public methodStatic memberCanRemoveUserFromRole(PortalSettings, Int32, Int32)
Determines if the specified user can be removed from a role
Public methodClearRoleCache
Public methodDeleteRole(RoleInfo)
Public methodDeleteRole(Int32, Int32) Obsolete.
Public methodStatic memberDeleteRoleGroup(RoleGroupInfo)
Deletes a Role Group
Public methodStatic memberDeleteRoleGroup(Int32, Int32)
Deletes a Role Group
Public methodDeleteUserRole(Int32, Int32, Int32) Obsolete.
Public methodStatic memberDeleteUserRole(Int32, UserInfo, PortalSettings, Boolean) Obsolete.
Public methodStatic memberDeleteUserRole(Int32, RoleInfo, PortalSettings, Boolean) Obsolete.
Public methodStatic memberDeleteUserRole(UserInfo, RoleInfo, PortalSettings, Boolean)
Removes a User from a Role
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetFactory (Overrides ServiceLocator<(Of <(<'TContract, TSelf>)>)>..::..GetFactory()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPortalRoles(Int32) Obsolete.
Public methodGetPortalRoles(Int32, Boolean) Obsolete.
Public methodGetPortalRolesByUser Obsolete.
Public methodGetRole(Int32, Func<(Of <<'(RoleInfo, Boolean>)>>))
Public methodGetRole(Int32, Int32) Obsolete.
Public methodGetRoleById
Public methodGetRoleByName
Public methodStatic memberGetRoleGroup
Fetch a single RoleGroup
Public methodStatic memberGetRoleGroupByName
Fetch a single RoleGroup by Name
Public methodStatic memberGetRoleGroups
Gets an ArrayList of RoleGroups
Public methodGetRoleNames Obsolete.
Public methodGetRoles()()()() Obsolete.
Public methodGetRoles(Int32)
Public methodGetRoles(Int32, Func<(Of <<'(RoleInfo, Boolean>)>>))
Public methodGetRolesBasicSearch
Public methodGetRolesByGroup
Public methodGetRolesByUser Obsolete.
Public methodGetRoleSettings
Public methodGetServices(Int32) Obsolete.
Public methodGetServices(Int32, Int32) Obsolete.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserRole
Gets a User/Role
Public methodGetUserRoles(Int32) Obsolete.
Public methodGetUserRoles(Int32, Int32) Obsolete.
Public methodGetUserRoles(UserInfo, Boolean)
Gets a list of UserRoles for the user
Public methodGetUserRoles(Int32, Int32, Boolean) Obsolete.
Public methodGetUserRoles(Int32, String, String)
Public methodGetUserRolesByRoleName Obsolete.
Public methodGetUserRolesByUsername Obsolete.
Public methodGetUsersByRole
Public methodGetUsersByRoleName Obsolete.
Public methodGetUsersInRole Obsolete.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSerializeRoleGroups
Serializes the role groups
Public methodStatic memberSerializeRoles Obsolete.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateRole(RoleInfo) Obsolete.
Public methodUpdateRole(RoleInfo, Boolean)
Public methodStatic memberUpdateRoleGroup(RoleGroupInfo)
Updates a Role Group
Public methodStatic memberUpdateRoleGroup(RoleGroupInfo, Boolean)
Public methodUpdateRoleSettings
Public methodUpdateService(Int32, Int32, Int32) Obsolete.
Public methodUpdateService(Int32, Int32, Int32, Boolean) Obsolete.
Public methodUpdateUserRole(Int32, Int32, Int32) Obsolete.
Public methodUpdateUserRole(Int32, Int32, Int32, Boolean) Obsolete.
Public methodUpdateUserRole(Int32, Int32, Int32, RoleStatus, Boolean, Boolean)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

See Also