ActiveDirectoryMembershipProvider.ApplicationName Property
.NET Framework (current version)
The name of the application using the custom membership provider.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | An attempt was made to set the ApplicationName property. |
| InvalidOperationException | An attempt to access the ApplicationName property was made before the ActiveDirectoryMembershipProvider instance was initialized. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: