Show / Hide Table of Contents

Class User

The payroll user client object

Inheritance
object
ModelBase
User
Implements
IUser
IModel
IAttributeObject
IKeyEquatable<IUser>
IEquatable<IUser>
IIdentifierObject
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class User : ModelBase, IUser, IModel, IAttributeObject, IKeyEquatable<IUser>, IEquatable<IUser>, IIdentifierObject

Constructors

User()

Initializes a new instance

Declaration
public User()

User(User)

Initializes a new instance from a copy

Declaration
public User(User copySource)
Parameters
Type Name Description
User copySource

The copy source

Properties

Attributes

Declaration
[JsonPropertyOrder(106)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

Culture

The user culture name based on RFC 4646

Declaration
[StringLength(128)]
[JsonPropertyOrder(104)]
public string Culture { get; set; }
Property Value
Type Description
string

FirstName

The first name of the user

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(102)]
public string FirstName { get; set; }
Property Value
Type Description
string

Identifier

The user identifier

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Identifier { get; set; }
Property Value
Type Description
string

LastName

The last name of the user

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(103)]
public string LastName { get; set; }
Property Value
Type Description
string

Password

The user password

Declaration
[StringLength(128)]
[JsonPropertyOrder(101)]
public string Password { get; set; }
Property Value
Type Description
string

UserType

The user type

Declaration
[JsonPropertyOrder(105)]
public UserType UserType { get; set; }
Property Value
Type Description
UserType

Methods

EqualKey(IUser)

Test for the same item key

Declaration
public virtual bool EqualKey(IUser compare)
Parameters
Type Name Description
IUser compare
Returns
Type Description
bool

Equals(IUser)

Declaration
public virtual bool Equals(IUser compare)
Parameters
Type Name Description
IUser compare
Returns
Type Description
bool

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

IUser
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>
IIdentifierObject

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX