The IRoleController type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddRole(RoleInfo) |
Adds a role
|
![]() | AddRole(RoleInfo, Boolean) |
Adds a role
|
![]() | AddUserRole |
Adds a User to a Role
|
![]() | ClearRoleCache |
Clears Roles cache for the passed portal ID and for the default ID (-1) as well.
|
![]() | DeleteRole |
Deletes a role
|
![]() | GetRole |
Fetch a single role based on a predicate
|
![]() | GetRoleById |
Fetch a single role
|
![]() | GetRoleByName |
Fetch a role by rolename and portal id
|
![]() | GetRoles(Int32) |
Obtains a list of roles from the cache (or for the database if the cache has expired)
|
![]() | GetRoles(Int32, Func<(Of <<'(RoleInfo, Boolean>)>>)) |
Get the roles based on a predicate
|
![]() | GetRolesBasicSearch |
get a list of roles based on progressive search
|
![]() | GetRoleSettings |
Gets the settings for a role
|
![]() | GetUserRole |
Gets a User/Role
|
![]() | GetUserRoles(UserInfo, Boolean) |
Gets a list of UserRoles for the user
|
![]() | GetUserRoles(Int32, String, String) |
Gets a list of UserRoles for the user
|
![]() | GetUsersByRole |
Get the users in a role (as User objects)
|
![]() | UpdateRole(RoleInfo) |
Persists a role to the Data Store
|
![]() | UpdateRole(RoleInfo, Boolean) |
Persists a role to the Data Store
|
![]() | UpdateRoleSettings |
Update the role settings
|
![]() | UpdateUserRole |
Updates a Service (UserRole)
|