UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.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.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public virtual Task<DateTimeOffset> GetLockoutEndDateAsync(
    TUser user
)
public:
virtual Task<DateTimeOffset>^ GetLockoutEndDateAsync(
    TUser user
)
abstract GetLockoutEndDateAsync : 
        user:'TUser -> Task<DateTimeOffset>
override GetLockoutEndDateAsync : 
        user:'TUser -> Task<DateTimeOffset>
Public Overridable Function GetLockoutEndDateAsync (
    user As TUser
) As Task(Of DateTimeOffset)

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task<DateTimeOffset>

The task representing the asynchronous operation.

Implements

IUserLockoutStore<TUser, TKey>.GetLockoutEndDateAsync(TUser)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top