Share via


SPIdentityContext.Current property

Gets an [SPIdentityContext] instance that represents the user and application identity associated with the current thread.

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As SPIdentityContext
    Get
'Usage
Dim value As SPIdentityContext

value = SPIdentityContext.Current
public static SPIdentityContext Current { get; }

Property value

Type: Microsoft.SharePoint.IdentityModel.SPIdentityContext

See also

Reference

SPIdentityContext class

SPIdentityContext members

Microsoft.SharePoint.IdentityModel namespace