System.Web.Security.ActiveDirectoryMembershipProvider.GetPassword Method

Returns the password of the specified user from the database. The System.Web.Security.ActiveDirectoryMembershipProvider class does not support this method.

Syntax

public override string GetPassword (string username, string answer)

Parameters

answer
Documentation for this section has not yet been entered.
username
The user to retrieve the password for.

Returns

Always throws a NotSupportedException exception.

Remarks

The System.Web.Security.ActiveDirectoryMembershipProvider class does not support returning the user's password.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0