Share via


UserManager<TUser, TKey>.UserLockoutEnabledByDefault Property

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)

Syntax

public bool UserLockoutEnabledByDefault { get; set; }

Property Value

Type: System.Boolean
true if the user lockout is enabled when users are created; otherwise, false.

See Also

Reference

UserManager<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity