ActiveDirectoryMembershipProvider.ApplicationName Property

Definition

The name of the application using the custom membership provider.

public:
 virtual property System::String ^ ApplicationName { System::String ^ get(); void set(System::String ^ value); };
public override string ApplicationName { get; set; }
member this.ApplicationName : string with get, set
Public Overrides Property ApplicationName As String

Property Value

The name of the application using the custom membership provider.

Exceptions

An attempt was made to set the ApplicationName property.

An attempt to access the ApplicationName property was made before the ActiveDirectoryMembershipProvider instance was initialized.

Remarks

The ApplicationName property can be set to the name of the ASP.NET application; however, the application name is not used by the ActiveDirectoryMembershipProvider class.

Therefore, unlike other MembershipProvider implementations, all ASP.NET applications that access the same Active Directory data store will always share the same user data.

Applies to