Share via


SPClaimUserUtility.TryGetClaimsIdentityClaimFromIdentity method

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

Syntax

'Declaration
Public Shared Function TryGetClaimsIdentityClaimFromIdentity ( _
    identity As IIdentity, _
    <OutAttribute> ByRef identityClaim As SPClaim _
) As Boolean
'Usage
Dim identity As IIdentity
Dim identityClaim As SPClaim
Dim returnValue As Boolean

returnValue = SPClaimUserUtility.TryGetClaimsIdentityClaimFromIdentity(identity, _
    identityClaim)
public static bool TryGetClaimsIdentityClaimFromIdentity(
    IIdentity identity,
    out SPClaim identityClaim
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SPClaimUserUtility class

SPClaimUserUtility members

Microsoft.SharePoint.Administration.Claims namespace