ActiveDirectoryMembershipProvider.GetPassword(String, String) ActiveDirectoryMembershipProvider.GetPassword(String, String) ActiveDirectoryMembershipProvider.GetPassword(String, String) ActiveDirectoryMembershipProvider.GetPassword(String, String) Method

Definition

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

public:
 override System::String ^ GetPassword(System::String ^ username, System::String ^ passwordAnswer);
public override string GetPassword (string username, string passwordAnswer);
override this.GetPassword : string * string -> string
Public Overrides Function GetPassword (username As String, passwordAnswer As String) As String

Parameters

username
String String String String

The user to retrieve the password for.

passwordAnswer
String String String String

The password answer for the user.

Returns

Always throws a NotSupportedException exception.

Exceptions

Remarks

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

Applies to

See also