IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.RequireUniqueEmail Property

 

Gets or sets whether to require unique e-mail in validating user identity.

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public bool RequireUniqueEmail { get; set; }
public:
property bool RequireUniqueEmail {
    bool get();
    void set(bool value);
}
member RequireUniqueEmail : bool with get, set
Public Property RequireUniqueEmail As Boolean

Property Value

Type: System.Boolean

true to require unique e-mail in validating user identity; otherwise, false.

See Also

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

Return to top