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
- identity
Type: System.Security.Principal.IIdentity
- identityClaim
Type: Microsoft.SharePoint.Administration.Claims.SPClaim
Return value
Type: System.Boolean