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

Return value

Type: System.String

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

Microsoft.SharePoint.Administration.Claims namespace