共用方式為


SPClaimProviderManager.DecodeClaim Method

Decodes an encoded claim string into an SPClaim object.

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

Syntax

'Declaration
Public Function DecodeClaim ( _
    value As String _
) As SPClaim
'Usage
Dim instance As SPClaimProviderManager
Dim value As String
Dim returnValue As SPClaim

returnValue = instance.DecodeClaim(value)
public SPClaim DecodeClaim(
    string value
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.Claims.SPClaim
An SPClaim object that is represented by the value parameter.

Exceptions

Exception Condition
ArgumentNullException

The value parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The value parameter does not represent a valid encoded SPClaim object.

See Also

Reference

SPClaimProviderManager Class

SPClaimProviderManager Members

Microsoft.SharePoint.Administration.Claims Namespace