共用方式為


SPClaimProviderManager.DecodeUserIdentifierClaim Method (String, String, String, String)

Decodes an encoded claim string that identifies a user into an SPClaim object.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function DecodeUserIdentifierClaim ( _
    claimType As String, _
    claimValue As String, _
    claimValueType As String, _
    claimOriginalIssuer As String _
) As SPClaim
'Usage
Dim claimType As String
Dim claimValue As String
Dim claimValueType As String
Dim claimOriginalIssuer As String
Dim returnValue As SPClaim

returnValue = SPClaimProviderManager.DecodeUserIdentifierClaim(claimType, _
    claimValue, claimValueType, claimOriginalIssuer)
public static SPClaim DecodeUserIdentifierClaim(
    string claimType,
    string claimValue,
    string claimValueType,
    string claimOriginalIssuer
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.Claims.SPClaim
A SPClaim object that identifies a user.

See Also

Reference

SPClaimProviderManager Class

SPClaimProviderManager Members

DecodeUserIdentifierClaim Overload

Microsoft.SharePoint.Administration.Claims Namespace