Class User
The payroll user client object
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
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
Culture
The user culture name based on RFC 4646
Declaration
[StringLength(128)]
[JsonPropertyOrder(104)]
public string Culture { get; set; }
Property Value
FirstName
The first name of the user
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(102)]
public string FirstName { get; set; }
Property Value
Identifier
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Identifier { get; set; }
Property Value
LastName
The last name of the user
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(103)]
public string LastName { get; set; }
Property Value
Password
Declaration
[StringLength(128)]
[JsonPropertyOrder(101)]
public string Password { get; set; }
Property Value
UserType
Declaration
[JsonPropertyOrder(105)]
public UserType UserType { get; set; }
Property Value
Methods
EqualKey(IUser)
Test for the same item key
Declaration
public virtual bool EqualKey(IUser compare)
Parameters
| Type |
Name |
Description |
| IUser |
compare |
|
Returns
Equals(IUser)
Declaration
public virtual bool Equals(IUser compare)
Parameters
| Type |
Name |
Description |
| IUser |
compare |
|
Returns
GetUiString()
Declaration
public override string GetUiString()
Returns
Overrides
Implements
Extension Methods