Share via


SPClaimUserUtility.TryGetClaimsUserNameFromIdentity method

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

Syntax

'Declaration
Public Shared Function TryGetClaimsUserNameFromIdentity ( _
    identity As IIdentity, _
    <OutAttribute> ByRef claimUserName As String _
) As Boolean
'Usage
Dim identity As IIdentity
Dim claimUserName As String
Dim returnValue As Boolean

returnValue = SPClaimUserUtility.TryGetClaimsUserNameFromIdentity(identity, _
    claimUserName)
public static bool TryGetClaimsUserNameFromIdentity(
    IIdentity identity,
    out string claimUserName
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SPClaimUserUtility class

SPClaimUserUtility members

Microsoft.SharePoint.Administration.Claims namespace