SignInManager<TUser>.LockedOut(TUser) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a locked out SignInResult.
protected:
virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ LockedOut(TUser user);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> LockedOut (TUser user);
abstract member LockedOut : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.LockedOut : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Protected Overridable Function LockedOut (user As TUser) As Task(Of SignInResult)
Parameters
- user
- TUser
The user.
Returns
A locked out SignInResult