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
- token
Type: Microsoft.SharePoint.SPUserToken
Return value
Type: Microsoft.SharePoint.IdentityModel.SPIdentityContext
Remarks
This method is not supported in Windows authentication mode.