Role Provider
IRoleProviderService
in assembly SanteDB.Core.Api version 2.1.151.0
Summary
Represents a service which is capableof retrieving roles
Operations
Operation | Response/Return | Input/Parameter | Description |
---|---|---|---|
CreateRole | void | String roleName IPrincipal principal | Creates a role |
AddUsersToRoles | void | String[] users String[] roles IPrincipal principal | Add users to roles |
RemoveUsersFromRoles | void | String[] users String[] roles IPrincipal principal | Remove users from specified roles |
FindUsersInRole | String[] | String role | Find all users in a specified role |
GetAllRoles | String[] | none | Get all roles |
GetAllRoles | String[] | String userName | Get all roles |
IsUserInRole | Boolean | String userName String roleName | User user in the specified role |
Implementations
ADO.NET Role Provider Service - (SanteDB.Persistence.Data.ADO)
Local role provider
Service Registration
Example Implementation
References
Last updated