GetPassword Method (String)
Gets the password for the membership user from the membership data store. 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 ( _
passwordAnswer As String _
) As String
'Usage
Dim instance As UpmMembershipUser
Dim passwordAnswer As String
Dim returnValue As String
returnValue = instance.GetPassword(passwordAnswer)
public override string GetPassword(
string passwordAnswer
)
public:
virtual String^ GetPassword(
String^ passwordAnswer
) override
public override function GetPassword(
passwordAnswer : String
) : String
Parameters
- passwordAnswer
Type: System..::.String
The password answer for the membership 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.