SPIdentityContext.Create method

Creates an identity context from an [SPUserToken] object.

Namespace:  Microsoft.SharePoint.IdentityModel
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    token As SPUserToken _
) As SPIdentityContext
'Usage
Dim token As SPUserToken
Dim returnValue As SPIdentityContext

returnValue = SPIdentityContext.Create(token)
public static SPIdentityContext Create(
    SPUserToken token
)

Parameters

Return value

Type: Microsoft.SharePoint.IdentityModel.SPIdentityContext

Remarks

This method is not supported in Windows authentication mode.

See also

Reference

SPIdentityContext class

SPIdentityContext members

Microsoft.SharePoint.IdentityModel namespace