SPClaimProviderManager.EncodeProviderUserKey method
Creates an [Microsoft.SharePoint.Administration.Claims.SPClaim] with the right claim
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function EncodeProviderUserKey ( _
originalIssuerType As SPOriginalIssuerType, _
originalIssuerIdentifier As String, _
providerUserKeyValue As String _
) As String
'Usage
Dim originalIssuerType As SPOriginalIssuerType
Dim originalIssuerIdentifier As String
Dim providerUserKeyValue As String
Dim returnValue As String
returnValue = SPClaimProviderManager.EncodeProviderUserKey(originalIssuerType, _
originalIssuerIdentifier, providerUserKeyValue)
public static string EncodeProviderUserKey(
SPOriginalIssuerType originalIssuerType,
string originalIssuerIdentifier,
string providerUserKeyValue
)
Parameters
- originalIssuerType
Type: Microsoft.SharePoint.Administration.Claims.SPOriginalIssuerType
- originalIssuerIdentifier
Type: System.String
- providerUserKeyValue
Type: System.String
Return value
Type: System.String