RemoteSecurityRepository Class |
Namespace: SanteDB.DisconnectedClient.Services.Remote
public class RemoteSecurityRepository : AmiRepositoryBaseService, ISecurityRepositoryService, IServiceImplementation, IRoleProviderService, IPersistableQueryRepositoryService<SecurityUser>, IRepositoryService<SecurityUser>, IPersistableQueryRepositoryService<SecurityApplication>, IRepositoryService<SecurityApplication>, IPersistableQueryRepositoryService<SecurityDevice>, IRepositoryService<SecurityDevice>, IPersistableQueryRepositoryService<SecurityRole>, IRepositoryService<SecurityRole>, IPersistableQueryRepositoryService<SecurityPolicy>, IRepositoryService<SecurityPolicy>, IPersistableQueryRepositoryService<UserEntity>, IRepositoryService<UserEntity>, IRepositoryService<SecurityProvenance>
The RemoteSecurityRepository type exposes the following members.
Name | Description | |
---|---|---|
RemoteSecurityRepository |
DI constructor
|
Name | Description | |
---|---|---|
ServiceName |
Get the service name
|
Name | Description | |
---|---|---|
AddUsersToRoles(String, String) |
Add users to the specified roles
| |
AddUsersToRoles(String, String, IPrincipal) |
Add specified users to specified roles
| |
ChangePassword(Guid, String) |
Change password for user
| |
ChangePassword(String, String) |
Change user's password
| |
CreateRole |
Create the specified role
| |
CreateUser |
Create a user
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindProvenance |
Find the specified provenance object
| |
FindUsersInRole |
Find all users in role
| |
GetActivePolicies |
Get active policies for the object
| |
GetAllRoles |
Get all roles from the server
| |
GetAllRoles(String) |
Get all roles
| |
GetApplication(IIdentity) |
Get application by identity
| |
GetApplication(String) |
Get application by name
| |
GetClient |
Get a service client
(Inherited from AmiRepositoryBaseService.) | |
GetDevice(IIdentity) |
Get device by identity
| |
GetDevice(String) |
Get device by name
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPolicy |
Get policy by ID
| |
GetProvenance |
Get provenance object
| |
GetProviderEntity |
Get the specified provider entity
| |
GetRole |
Get role by name
| |
GetSecurityEntity |
Get security entity base don principal
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUser(IIdentity) |
Get user from identitiy
| |
GetUser(String) |
Get user by user name
| |
GetUserEntity |
Get user entity by identity
| |
IsUserInRole(IPrincipal, String) |
Determine if user is in role
| |
IsUserInRole(String, String) |
Determine if user is in role
| |
LockApplication |
Lock the specified application
| |
LockDevice |
Lock the specified device
| |
LockUser |
Lock a user
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveUsersFromRoles(String, String) |
Remove application from roles
| |
RemoveUsersFromRoles(String, String, IPrincipal) |
Remove users from roles
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnlockApplication |
Unlock the application
| |
UnlockDevice |
Unlock the specified device
| |
UnlockUser |
Unlock the user
|
Name | Description | |
---|---|---|
ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |