Click or drag to resize

LocalSecurityRepository Class

Represents a security repository service that uses the direct local services
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.Services.LocalLocalSecurityRepository

Namespace:  SanteDB.DisconnectedClient.Services.Local
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class LocalSecurityRepository : ISecurityRepositoryService, 
	IServiceImplementation

The LocalSecurityRepository type exposes the following members.

Constructors
  NameDescription
Public methodLocalSecurityRepository
Creates a new local security repository service
Top
Properties
  NameDescription
Public propertyServiceName
Gets the service name
Top
Methods
  NameDescription
Public methodChangePassword(Guid, String)
Changes a user's password.
Public methodChangePassword(String, String)
Change password
Public methodCreateUser
Creates a user with a specified password.
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 provenance
Public methodGetApplication(IIdentity)
Get application
Public methodGetApplication(String)
Get application from name
Public methodGetDevice(IIdentity)
Get device
Public methodGetDevice(String)
Get device from name
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPolicy
Get the policy information in the model format
Public methodGetProvenance
Get the security provenance
Public methodGetProviderEntity
Get the specified provider entity
Public methodGetRole
Get the specified role
Public methodGetSecurityEntity
Get the security entity from the specified principal
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUser(IIdentity)
Get the specified user based on identity
Public methodGetUser(String)
Gets a specific user.
Public methodGetUserEntity
Get user entity from identity
Public methodLockApplication
Locks the specified application
Public methodLockDevice
Lock a device
Public methodLockUser
Locks a specific user.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetUserRoles
Set the user's roles to only those in the roles array
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlockApplication
Unlock the specified application
Public methodUnlockDevice
Unlocks the specified device
Public methodUnlockUser
Unlocks a specific 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