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