Table of Contents

Class UserLoginStatus

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

User's Login status.

public class UserLoginStatus : Entity, IEntity, IComparable, IIdentifiable
Inheritance
UserLoginStatus
Implements
Inherited Members

Constructors

UserLoginStatus()

Initializes a new instance of the UserLoginStatus class.

public UserLoginStatus()

UserLoginStatus(Id, User, int?, DateTime?, DateTime?, in DateTime)

Initializes a new instance of the UserLoginStatus class.

public UserLoginStatus(Id id, User user, int? failureCount, DateTime? firstFailureDateTime, DateTime? lockoutuntil, in DateTime updateTime)

Parameters

id Id

The identifier.

user User

The user User class.

failureCount int?

The failureCount.

firstFailureDateTime DateTime?

The firstFailureDateTime.

lockoutuntil DateTime?

The lockoutuntil.

updateTime DateTime

The updateTime.

UserLoginStatus(UserLoginStatus)

Initializes a new instance of the UserLoginStatus class.

public UserLoginStatus(UserLoginStatus value)

Parameters

value UserLoginStatus

The user login status.

Properties

DateTime

Gets or sets updated time of this record.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

Updated time of this record.

FirstLoginFailureDatetime

Gets or sets user's first failure authentication time.

public DateTime? FirstLoginFailureDatetime { get; set; }

Property Value

DateTime?

User's first failure authentication time.

LockoutUntil

Gets or sets user's lockout time.

public DateTime? LockoutUntil { get; set; }

Property Value

DateTime?

User's lockout time.

LoginFailureCount

Gets or sets user's failure count.

public int? LoginFailureCount { get; set; }

Property Value

int?

User's failure count.

User

Gets or sets the user.

public User? User { get; set; }

Property Value

User

The user.

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.