Interface IValidUser
Represents a user that is restricted in time, aka only valid from and to a date..
Inherited Members
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IValidUser : IUser, IUserIdentifiers, IUniqueIdentifier, IHaveEmail, IEventAggregate
Properties
ValidFrom
Gets or sets the System.DateTime from which the user is valid to sign-in.
Declaration
DateTime ValidFrom { get; set; }
Property Value
System.DateTime
|
ValidTo
Gets or sets the System.DateTime on which the user is valid to sign-in.
Declaration
DateTime? ValidTo { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Methods
IsValid()
Gets if the user is valid to sign-in.
Declaration
bool IsValid()
Returns
Boolean
true if the user is valid to sign-in; otherwise false. |