ActiveDirectoryMembershipProvider.ApplicationName Property

The name of the application using the custom membership provider.

Namespace: System.Web.Security
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 typeCondition

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: