Click or drag to resize

SecurityUser Class

Security user represents a user for the purpose of security
Inheritance Hierarchy

Namespace:  SanteDB.Core.Model.Security
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public class SecurityUser : SecurityEntity

The SecurityUser type exposes the following members.

Constructors
  NameDescription
Public methodSecurityUser
Roles belonging to the user
Top
Properties
  NameDescription
Public propertyBatchOperation
Gets or sets the operation
(Inherited from IdentifiedData.)
Public propertyCreatedBy
Gets or sets the user that created this base data
(Inherited from BaseEntityData.)
Public propertyCreatedByKey
Gets or sets the security provenance object which represents the creation of this object
(Inherited from BaseEntityData.)
Public propertyCreationTime
Gets or sets the time at which the data was created
(Inherited from BaseEntityData.)
Public propertyCreationTimeXml
Gets or sets the creation time as an ISO date format
(Inherited from BaseEntityData.)
Public propertyEmail
Gets or sets the email address of the user
Public propertyEmailConfirmed
Gets or sets whether the email address is confirmed
Public propertyInvalidLoginAttempts
Gets or sets the number of invalid login attempts by the user
Public propertyIsDelayLoadEnabled
True if the class is currently loading associations when accessed
(Inherited from IdentifiedData.)
Public propertyKey
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData.)
Public propertyLastLoginTime
The last login time
Public propertyLastLoginTimeXml
Gets or sets the creation time in XML format
Public propertyLoadState
Gets or sets whether the object was partial loaded
(Inherited from IdentifiedData.)
Public propertyLockout
Gets or sets whether the account is locked out
Public propertyLockoutXml
Gets or sets the creation time in XML format
Public propertyModifiedOn
Gets the time this item was modified
(Inherited from NonVersionedEntityData.)
Public propertyObsoletedBy
Gets or sets the user that obsoleted this base data
(Inherited from BaseEntityData.)
Public propertyObsoletedByKey
Gets or sets the security provenance object which represents the obsoletion of this data
(Inherited from BaseEntityData.)
Public propertyObsoletionTime
Gets or sets the time when the data is or will become invalid
(Inherited from BaseEntityData.)
Public propertyObsoletionTimeXml
Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
(Inherited from BaseEntityData.)
Public propertyPassword
Gets or sets whether the password hash is enabled
Public propertyPasswordExpiration
The last login time
Public propertyPasswordExpirationXml
Gets or sets the creation time in XML format
Public propertyPhoneNumber
Gets or sets the patient's phone number
Public propertyPhoneNumberConfirmed
Gets or sets whether the phone number was confirmed
Public propertyPolicies
Gets or sets the policies for the user
(Overrides SecurityEntityPolicies.)
Public propertyRoles
Represents roles
Public propertySecurityHash
Gets or sets whether the security has is enabled
Public propertyTag
Gets the etag
(Overrides IdentifiedDataTag.)
Public propertyTwoFactorEnabled
Gets or sets whether two factor authentication is required
Public propertyTwoFactorMechnaismKey
Gets or sets the preferred tfa mechanism
Public propertyType
Gets the type registration of this object
(Inherited from IdentifiedData.)
Public propertyUpdatedBy
Gets or sets the user that updated this base data
(Inherited from NonVersionedEntityData.)
Public propertyUpdatedByKey
Gets or sets the provenance identifier associated with the last update of this object
(Inherited from NonVersionedEntityData.)
Public propertyUpdatedTime
Updated time
(Inherited from NonVersionedEntityData.)
Public propertyUpdatedTimeXml
Gets or sets the time that this object was last modified in ISO format
(Inherited from NonVersionedEntityData.)
Public propertyUserClass
Gets or sets the user class key
Public propertyUserEntity
Link from this security resource to an entity resource
Public propertyUserName
Gets or sets the logical user name ofthe user
Public propertyUserPhoto
Gets or sets the binary representation of the user's photo
Top
Methods
  NameDescription
Public methodAddAnnotation
Add an annotated object
(Inherited from IdentifiedData.)
Public methodAddPolicy
Add a policy to this act
(Inherited from SecurityEntity.)
Public methodClone
Clone this object
(Inherited from IdentifiedData.)
Public methodCopyAnnotations
Copy annotations from another resource
(Inherited from IdentifiedData.)
Public methodDeepCopy
Provide a deep copy of the specified data
(Inherited from IdentifiedData.)
Protected methodDelayLoadTEntity
Get associated entity
(Inherited from IdentifiedData.)
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 methodGetAnnotationsT
Get annotations of specified T
(Inherited from IdentifiedData.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocked
Clone the specified data
(Inherited from IdentifiedData.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPolicy
Returns true if this object has the specified policy applied
(Inherited from SecurityEntity.)
Public methodIsEmpty
Determines w
(Inherited from IdentifiedData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAnnotation
Remove annotation
(Inherited from IdentifiedData.)
Public methodSemanticEquals
Determine semantic equality of user
(Overrides IdentifiedDataSemanticEquals(Object).)
Public methodShouldSerializeBatchOperation
Should serialize batch operation
(Inherited from IdentifiedData.)
Public methodShouldSerializeCreatedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeKey
True if key should be serialized
(Inherited from IdentifiedData.)
Public methodShouldSerializeModifiedOn
Never serialize modified on
(Inherited from IdentifiedData.)
Public methodShouldSerializeObsoletedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeUpdatedByKey
True if key should be serialized
(Inherited from NonVersionedEntityData.)
Public methodToDisplay
Get the name of the object as a display string
(Overrides IdentifiedDataToDisplay.)
Public methodToString
Represent the data as a string
(Inherited from BaseEntityData.)
Top
Fields
  NameDescription
Protected fieldm_annotations
A list of custom tags which were added to this object
(Inherited from IdentifiedData.)
Protected fieldm_policies
Policies applied to this entity
(Inherited from SecurityEntity.)
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