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

Definición

Devuelve la contraseña del usuario especificado de la base de datos.Returns the password of the specified user from the database. La clase ActiveDirectoryMembershipProvider no admite este método.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

Parámetros

username
String String String String

Usuario cuya contraseña se va a recuperar.The user to retrieve the password for.

passwordAnswer
String String String String

Respuesta de contraseña del usuario.The password answer for the user.

Devoluciones

Siempre produce una excepción NotSupportedException.Always throws a NotSupportedException exception.

Excepciones

Comentarios

La ActiveDirectoryMembershipProvider clase no admite la devolución de la contraseña del usuario.The ActiveDirectoryMembershipProvider class does not support returning the user's password.

Se aplica a

Consulte también: