共用方式為


SignInManager<TUser>.LockedOut(TUser) 方法

定義

傳回鎖定的 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)

參數

user
TUser

使用者。

傳回

已鎖定的 SignInResult

適用於