Click or drag to resize

UserData Class

A serializable class that contains information about a user defined in the security data store.
Inheritance Hierarchy
SystemObject
  GSF.SecurityUserData
    GSF.SecurityOIDCUserData

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.181-beta
Syntax
[SerializableAttribute]
[XmlTypeAttribute(Namespace = "")]
[DataContractAttribute(Namespace = "")]
public class UserData
View Source

The UserData type exposes the following members.

Constructors
 NameDescription
Public methodUserData Initializes a new instance of the UserData class.
Public methodUserData(String) Initializes a new instance of the UserData class.
Public methodUserData(UserData) Initializes a new instance of the UserData class by copying an existing instance.
Top
Properties
 NameDescription
Public propertyAccountCreatedDateTime Gets the UTC date and time when user account was created.
Public propertyCompanyName Gets the user's company name.
Public propertyEmailAddress Gets the user's email address.
Public propertyFirstName Gets the user's first name.
Public propertyGroups Gets a read-only list of all the groups the user belongs to.
Public propertyIsAzureAD Gets a boolean value that indicates whether the user is defined as an AzureAD account.
Public propertyIsDefined Gets a boolean value that indicates whether the user is defined in the backend security data store.
Public propertyIsDisabled Gets a boolean value that indicates whether the user account has been disabled.
Public propertyIsExternal Gets a boolean value that indicates whether the user is defined as an external user in the backend security data store.
Public propertyIsLockedOut Gets a boolean value that indicates whether the user account has been locked due to numerous unsuccessful login attempts.
Public propertyLastName Gets the user's last name.
Public propertyLoginID Gets the user's login ID.
Public propertyPassword Gets the user's password.
Public propertyPasswordChangeDateTime Gets the UTC date and time when user must change the password.
Public propertyPhoneNumber Gets the user's phone number.
Public propertyRoles Gets a read-only list of all the roles assigned to the user.
Public propertySecurityAnswer Gets the user's security answer.
Public propertySecurityQuestion Gets the user's security question.
Public propertyUsername Gets the user's login name.
Top
Methods
 NameDescription
Public methodClone Copies a new instance of the UserData class by copying an existing instance.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes this UserData object.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also