System.Web.Security.ActiveDirectoryMembershipProvider.RequiresUniqueEmail Property

Gets a value indicating whether an e-mail address stored on the Active Directory server must be unique.

Syntax

public override bool RequiresUniqueEmail { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the ActiveDirectoryMembershipProvider.RequiresUniqueEmail property is true, the System.Web.Security.ActiveDirectoryMembershipProvider instance ensures that the e-mail address is not used by any other user within the current scope when either the ActiveDirectoryMembershipProvider.CreateUser(string, string, string, string, string, bool, object, MembershipCreateStatus@) or ActiveDirectoryMembershipProvider.UpdateUser(MembershipUser) method is called.

The ActiveDirectoryMembershipProvider.RequiresUniqueEmail property is set in your application's configuration file using the requiresUniqueEmail attribute of the membership element. If the property is not set in the application's configuration file, the ActiveDirectoryMembershipProvider.RequiresUniqueEmail property is set to the default value of false.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0