Click or drag to resize

SecurityUserResourceHandler Class

Represents a resource handler that can handle security users
Inheritance Hierarchy
SystemObject
  SanteDB.Rest.AMI.ResourcesSecurityEntityResourceHandlerSecurityUser
    SanteDB.Rest.AMI.ResourcesSecurityUserResourceHandler

Namespace:  SanteDB.Rest.AMI.Resources
Assembly:  SanteDB.Rest.AMI (in SanteDB.Rest.AMI.dll) Version: 2.2.1
Syntax
public class SecurityUserResourceHandler : SecurityEntityResourceHandler<SecurityUser>, 
	ILockableResourceHandler, IApiResourceHandler

The SecurityUserResourceHandler type exposes the following members.

Constructors
  NameDescription
Public methodSecurityUserResourceHandler
DI constructor
Top
Properties
  NameDescription
Public propertyCapabilities
Gets the capabilities of the resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyChildResources
Get the child resources
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyResourceName
Gets the name of the resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyScope
Gets the scope of the object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyServiceName (Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public propertyType
Gets the type of object that is expected
(Overrides SecurityEntityResourceHandlerTSecurityEntityType.)
Top
Methods
  NameDescription
Public methodAddChildObject
Add a child object instance
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodAddChildResource
Add a child resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodCreate
Creates the specified user
(Overrides SecurityEntityResourceHandlerTSecurityEntityCreate(Object, Boolean).)
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.)
Protected methodFireSecurityAttributesChanged
Raise the security attributes change event
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGet
Get the specified object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGetChildObject
Get a child object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRepository
Gets the repository
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLock
Lock the specified user
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodObsolete
Obsolete the specified object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodQuery(NameValueCollection)
Query for the specified object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodQuery(NameValueCollection, Int32, Int32, Int32)
Query for specified objects
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodQueryChildObjects
Query child objects
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodRemoveChildObject
Remove a child object
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetChainedResource
Try to get a chained resource
(Inherited from SecurityEntityResourceHandlerTSecurityEntity.)
Public methodUnlock
Unlock user
Public methodUpdate
Override the update function
(Overrides SecurityEntityResourceHandlerTSecurityEntityUpdate(Object).)
Top
Fields
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