Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a value that indicates whether the user lockout is enabled when users are created.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Public Property UserLockoutEnabledByDefault As Boolean
Get
Set
'Usage
Dim instance As UserManager
Dim value As Boolean
value = instance.UserLockoutEnabledByDefault
instance.UserLockoutEnabledByDefault = value
public bool UserLockoutEnabledByDefault { get; set; }
public:
property bool UserLockoutEnabledByDefault {
bool get ();
void set (bool value);
}
member UserLockoutEnabledByDefault : bool with get, set
function get UserLockoutEnabledByDefault () : boolean
function set UserLockoutEnabledByDefault (value : boolean)
Type: System.Boolean
true if the user lockout is enabled when users are created; otherwise, false.
UserManager<TUser, TKey> Class