次の方法で共有


SPClaimProviderManager.GetUserIdentifierEncodedClaim method (IIdentity)

Extracts the EncodeClaim() from the identity.

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

Syntax

'Declaration
Public Function GetUserIdentifierEncodedClaim ( _
    identity As IIdentity _
) As String
'Usage
Dim instance As SPClaimProviderManager
Dim identity As IIdentity
Dim returnValue As String

returnValue = instance.GetUserIdentifierEncodedClaim(identity)
public string GetUserIdentifierEncodedClaim(
    IIdentity identity
)

Parameters

Return value

Type: System.String
A string that contains an encode claim representing the identity parameter.

Exceptions

Exception Condition
ArgumentNullException

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

ArgumentException

The identity parameter is a null reference (Nothing in Visual Basic). The claim for the identity parameter is a null reference (Nothing in Visual Basic).

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

GetUserIdentifierEncodedClaim overload

Microsoft.SharePoint.Administration.Claims namespace