Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
identity
Type: System.Security.Principal.IIdentityAn object that represents the identity of the claim.
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 Members