Udostępnij przez


ActiveDirectoryMembershipProvider.GetPassword(String, String) Metoda

Definicja

Zwraca hasło określonego użytkownika z bazy danych. Klasa ActiveDirectoryMembershipProvider nie obsługuje tej metody.

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

Parametry

username
String

Użytkownik do pobrania hasła.

passwordAnswer
String

Odpowiedź na hasło użytkownika.

Zwraca

Zawsze zgłasza wyjątek NotSupportedException .

Wyjątki

Element nie obsługuje pobierania ActiveDirectoryMembershipProvider haseł.

Uwagi

Klasa ActiveDirectoryMembershipProvider nie obsługuje zwracania hasła użytkownika.

Dotyczy

Zobacz też