Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the password for the specified user name from the data source. The UpmMembershipProvider does not support this method.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Overrides Function GetPassword ( _
username As String, _
answer As String _
) As String
'Usage
Dim instance As UpmMembershipProvider
Dim username As String
Dim answer As String
Dim returnValue As String
returnValue = instance.GetPassword(username, _
answer)
public override string GetPassword(
string username,
string answer
)
public:
virtual String^ GetPassword(
String^ username,
String^ answer
) override
public override function GetPassword(
username : String,
answer : String
) : String
Parameters
- username
Type: System..::.String
The name of the user to get the password for.
- answer
Type: System..::.String
The password answer for the user.
Return Value
Type: System..::.String
A NotSupportedException in all cases.
Remarks
Throws a NotSupportedException in all cases. Not supported by UpmMembershipProvider.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.