Freigeben über


GetPassword Method

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

Return Value

Type: System..::.String
A NotSupportedException in all cases.

Remarks

Throws a NotSupportedException in all cases. Not supported by UpmMembershipProvider.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace