SPClaimsAuthMembershipProvider.GetPassword method
Gets the password for a membership user.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetPassword ( _
name As String, _
answer As String _
) As String
'Usage
Dim instance As SPClaimsAuthMembershipProvider
Dim name As String
Dim answer As String
Dim returnValue As String
returnValue = instance.GetPassword(name, _
answer)
public override string GetPassword(
string name,
string answer
)
Parameters
name
Type: System.StringThe user for whom the password is retrieved.
answer
Type: System.StringThe password answer for the membership user.
Return value
Type: System.String
The password for the membership user.
Remarks
This override gets the password for the specified user in the membership provider that is not an SPClaimsAuthMembershipProvider, and is used by forms-based authentication in the current application.
See also
Reference
SPClaimsAuthMembershipProvider class