IUserLockoutStore<TUser, TKey>.GetLockoutEndDateAsync Method (TUser)
Asynchronously returns the DateTimeOffset that represents the end of a user's lockout, any time in the past should be considered not locked out.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<DateTimeOffset> GetLockoutEndDateAsync(
TUser user
)
Task<DateTimeOffset>^ GetLockoutEndDateAsync(
TUser user
)
abstract GetLockoutEndDateAsync :
user:'TUser -> Task<DateTimeOffset>
Function GetLockoutEndDateAsync (
user As TUser
) As Task(Of DateTimeOffset)
Parameters
user
Type: TUserThe user.
Return Value
Type: System.Threading.Tasks.Task<DateTimeOffset>
The task object representing the asynchronous operation.
See Also
IUserLockoutStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top