Click or drag to resize

UserAccount Class

Model for UserAccount table.
Inheritance Hierarchy
SystemObject
  GSF.Security.ModelUserAccount

Namespace: GSF.Security.Model
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.218-beta
Syntax
[PrimaryLabelAttribute("Name")]
public class UserAccount
View Source

The UserAccount type exposes the following members.

Constructors
 NameDescription
Public methodUserAccountInitializes a new instance of the UserAccount class
Top
Properties
 NameDescription
Public propertyAccountName User account name, converted from security ID as needed.
Public propertyChangePasswordOn Change password on date field - for DB authentication only.
Public propertyCreatedBy Created by field.
Public propertyCreatedOn Created on field.
Public propertyDefaultNodeID Default Node ID field.
Public propertyEmail E-mail field - for DB authentication only.
Public propertyFirstName First name field - for DB authentication only.
Public propertyID Unique user account ID field.
Public propertyLastName Last name field - for DB authentication only.
Public propertyLockedOut User locked-out field.
Public propertyName User name field - stores SID for AD authentication.
Public propertyPassword Password field - stores password hash for DB authentication only.
Public propertyPhone Phone number field - for DB authentication only.
Public propertyUpdatedBy Updated by field.
Public propertyUpdatedOn Updated on field.
Public propertyUseADAuthentication Use Active Directory authentication field.
Top
Methods
 NameDescription
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)
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
Remarks
A record in this table can represent a database defined user with associated detail or an Active Directory user that maintains its own user details.
See Also