The IRoleController type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddRole(RoleInfo) |
Adds a role
| |
| AddRole(RoleInfo, Boolean) |
Adds 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
| |
| 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
| |
| UpdateRole(RoleInfo) |
Persists a role to the Data Store
| |
| UpdateRole(RoleInfo, Boolean) |
Persists a role to the Data Store
| |
| UpdateRoleSettings |
Update the role settings
|