The IRoleController type exposes the following members.

Methods

  NameDescription
Public methodAddRole(RoleInfo)
Adds a role
Public methodAddRole(RoleInfo, Boolean)
Adds a role
Public methodAddUserRole
Adds a User to a Role
Public methodClearRoleCache
Clears Roles cache for the passed portal ID and for the default ID (-1) as well.
Public methodDeleteRole
Deletes a role
Public methodGetRole
Fetch a single role based on a predicate
Public methodGetRoleById
Fetch a single role
Public methodGetRoleByName
Fetch a role by rolename and portal id
Public methodGetRoles(Int32)
Obtains a list of roles from the cache (or for the database if the cache has expired)
Public methodGetRoles(Int32, Func<(Of <<'(RoleInfo, Boolean>)>>))
Get the roles based on a predicate
Public methodGetRolesBasicSearch
get a list of roles based on progressive search
Public methodGetRoleSettings
Gets the settings for a role
Public methodGetUserRole
Gets a User/Role
Public methodGetUserRoles(UserInfo, Boolean)
Gets a list of UserRoles for the user
Public methodGetUserRoles(Int32, String, String)
Gets a list of UserRoles for the user
Public methodGetUsersByRole
Get the users in a role (as User objects)
Public methodUpdateRole(RoleInfo)
Persists a role to the Data Store
Public methodUpdateRole(RoleInfo, Boolean)
Persists a role to the Data Store
Public methodUpdateRoleSettings
Update the role settings
Public methodUpdateUserRole
Updates a Service (UserRole)

See Also