This documentation is archived and is not being maintained.

ActiveDirectoryMembershipProvider.EnablePasswordRetrieval Property

Gets a value indicating whether the user's password can be retrieved from the Active Directory data store. This property always returns false.

Namespace:  System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public override bool EnablePasswordRetrieval { get; }

Property Value

Type: System.Boolean
false to indicate that password retrieval is not supported by the ActiveDirectoryMembershipProvider class.

ExceptionCondition
InvalidOperationException

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

The ActiveDirectoryMembershipProvider class does not support password retrieval.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: