Click or drag to resize

RemoteSecurityRepository Class

Represents a remote security repository
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.Services.RemoteAmiRepositoryBaseService
    SanteDB.DisconnectedClient.Services.RemoteRemoteSecurityRepository

Namespace:  SanteDB.DisconnectedClient.Services.Remote
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
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.

Constructors
  NameDescription
Public methodRemoteSecurityRepository
DI constructor
Top
Properties
  NameDescription
Public propertyServiceName
Get the service name
Top
Methods
  NameDescription
Public methodAddUsersToRoles(String, String)
Add users to the specified roles
Public methodAddUsersToRoles(String, String, IPrincipal)
Add specified users to specified roles
Public methodChangePassword(Guid, String)
Change password for user
Public methodChangePassword(String, String)
Change user's password
Public methodCreateRole
Create the specified role
Public methodCreateUser
Create a user
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindProvenance
Find the specified provenance object
Public methodFindUsersInRole
Find all users in role
Public methodGetActivePolicies
Get active policies for the object
Public methodGetAllRoles
Get all roles from the server
Public methodGetAllRoles(String)
Get all roles
Public methodGetApplication(IIdentity)
Get application by identity
Public methodGetApplication(String)
Get application by name
Protected methodGetClient
Get a service client
(Inherited from AmiRepositoryBaseService.)
Public methodGetDevice(IIdentity)
Get device by identity
Public methodGetDevice(String)
Get device by name
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPolicy
Get policy by ID
Public methodGetProvenance
Get provenance object
Public methodGetProviderEntity
Get the specified provider entity
Public methodGetRole
Get role by name
Public methodGetSecurityEntity
Get security entity base don principal
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUser(IIdentity)
Get user from identitiy
Public methodGetUser(String)
Get user by user name
Public methodGetUserEntity
Get user entity by identity
Public methodIsUserInRole(IPrincipal, String)
Determine if user is in role
Public methodIsUserInRole(String, String)
Determine if user is in role
Public methodLockApplication
Lock the specified application
Public methodLockDevice
Lock the specified device
Public methodLockUser
Lock a user
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveUsersFromRoles(String, String)
Remove application from roles
Public methodRemoveUsersFromRoles(String, String, IPrincipal)
Remove users from roles
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlockApplication
Unlock the application
Public methodUnlockDevice
Unlock the specified device
Public methodUnlockUser
Unlock the user
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
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.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also