ActiveDirectoryMembershipProvider.GetPassword(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The user to retrieve the password for.
- passwordAnswer
- String
The password answer for the user.
Returns
Always throws a NotSupportedException exception.
Exceptions
The ActiveDirectoryMembershipProvider does not support password retrieval.
Remarks
The ActiveDirectoryMembershipProvider class does not support returning the user's password.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro