ActiveDirectoryMembershipProvider.ApplicationName Property
.NET Framework 2.0
The name of the application using the custom membership provider.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Overrides Property ApplicationName As String 'Usage Dim instance As ActiveDirectoryMembershipProvider Dim value As String value = instance.ApplicationName instance.ApplicationName = value
/** @property */ public String get_ApplicationName () /** @property */ public void set_ApplicationName (String value)
public override function get ApplicationName () : String public override function set ApplicationName (value : String)
Not applicable.
Property Value
The name of the application using the custom membership provider.| Exception type | Condition |
|---|---|
|
An attempt was made to set the ApplicationName property. | |
|
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.
Community Additions
ADD
Show: