Class SysAdminUnit
Inheritance
System.Object
SysAdminUnit
Implements
System.ICloneable
ICompositeObject
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Terrasoft.Core.dll
Syntax
public class SysAdminUnit : SysBaseLookup, IEntity, ICloneable, ILicObject, ICompositeObject
Constructors
SysAdminUnit(SysAdminUnit)
Declaration
public SysAdminUnit(SysAdminUnit source)
Parameters
SysAdminUnit(UserConnection)
Declaration
public SysAdminUnit(UserConnection userConnection)
Parameters
Properties
Account
Declaration
public Account Account { get; }
Property Value
AccountId
Declaration
public Guid AccountId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
AccountName
Declaration
public string AccountName { get; set; }
Property Value
Type |
Description |
System.String |
|
Active
Declaration
public bool Active { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ConnectionType
Declaration
public UserType ConnectionType { get; set; }
Property Value
Declaration
public Contact Contact { get; }
Property Value
Declaration
public Guid ContactId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
Declaration
public string ContactName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public SysLanguage DateTimeFormat { get; }
Property Value
Declaration
public Guid DateTimeFormatId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
Declaration
public string DateTimeFormatName { get; set; }
Property Value
Type |
Description |
System.String |
|
Email
Declaration
public string Email { get; set; }
Property Value
Type |
Description |
System.String |
|
ForceChangePassword
Declaration
public bool ForceChangePassword { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsDirectoryEntry
Declaration
public bool IsDirectoryEntry { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LDAPEntryDN
Declaration
public string LDAPEntryDN { get; set; }
Property Value
Type |
Description |
System.String |
|
LoggedIn
Declaration
public bool LoggedIn { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
LoginAttemptCount
Declaration
public int LoginAttemptCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ParentRole
Declaration
public SysAdminUnit ParentRole { get; }
Property Value
ParentRoleId
Declaration
public Guid ParentRoleId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
ParentRoleName
Declaration
public string ParentRoleName { get; set; }
Property Value
Type |
Description |
System.String |
|
PasswordExpireDate
Declaration
public DateTime PasswordExpireDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
PhotoId
Declaration
public Guid PhotoId { get; }
Property Value
Type |
Description |
System.Guid |
|
SourceControlLogin
Declaration
public string SourceControlLogin { get; set; }
Property Value
Type |
Description |
System.String |
|
SourceControlPassword
Declaration
public string SourceControlPassword { get; set; }
Property Value
Type |
Description |
System.String |
|
SynchronizeWithLDAP
Declaration
public bool SynchronizeWithLDAP { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SysAdminUnitTypeValue
Declaration
public SysAdminUnitType SysAdminUnitTypeValue { get; set; }
Property Value
SysCulture
Declaration
public SysCulture SysCulture { get; }
Property Value
SysCultureId
Declaration
public Guid SysCultureId { get; set; }
Property Value
Type |
Description |
System.Guid |
|
SysCultureName
Declaration
public string SysCultureName { get; set; }
Property Value
Type |
Description |
System.String |
|
TimeZoneId
Declaration
public string TimeZoneId { get; set; }
Property Value
Type |
Description |
System.String |
|
UnblockTime
Declaration
public DateTime UnblockTime { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
UserPassword
Declaration
public string UserPassword { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Clone()
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
ValidateAdminUnitNamePassword(UserConnection, ref String, String, UserType)
Checks that user exists and user password valid.
Declaration
public static UserValidateResult ValidateAdminUnitNamePassword(UserConnection userConnection, ref string userName, string userPassword, UserType type = UserType.General)
Parameters
Type |
Name |
Description |
UserConnection |
userConnection |
UserConnection instance.
|
System.String |
userName |
User name. This value is not case sensitive and will be converted to
DB required case.
|
System.String |
userPassword |
User password.
|
UserType |
type |
User type.
|
Returns
Type |
Description |
UserValidateResult |
True , if user with userName exists and userPassword valid.
Otherwise returns false .
|
Implements
System.ICloneable
ICompositeObject
Extension Methods