public interface IUserRoleListService
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllRoles()
Returns all authorities known to the provider.
|
List<String> |
getAllRoles(ITenant tenant)
Returns all authorities known to the provider for a given tenant.
|
List<String> |
getAllUsers()
Returns all user names known to the provider.
|
List<String> |
getAllUsers(ITenant tenant)
Returns all user names known to the provider for a given tenant.
|
List<String> |
getRolesForUser(ITenant tenant,
String username)
Returns all authorities granted for a specified user.
|
List<String> |
getSystemRoles()
Returns all system authorities known to the provider.
|
List<String> |
getUsersInRole(ITenant tenant,
String role)
Returns all known users in the specified role.
|
List<String> getAllRoles()
null.null.List<String> getSystemRoles()
null.null.List<String> getAllRoles(ITenant tenant)
null.tenant - To be used for searching authorities.null.List<String> getAllUsers()
null.null.List<String> getAllUsers(ITenant tenant)
null.tenant - Tenant to be used for searching users.null.List<String> getUsersInRole(ITenant tenant, String role)
null.tenant - Tenant information.authority - Indicates the authority to look users up by. Cannot be null.null.List<String> getRolesForUser(ITenant tenant, String username)
tenant - Tenant information.username - Indicates the name of the user to look up authorities for.null.