Export (0) Print
Expand All

SPSecurityContext class

Provides a static utility class that contains properties and methods to work with the security context of the current user.

System.Object
  Microsoft.SharePoint.SPSecurityContext

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

'Declaration
<PermissionSetAttribute(SecurityAction.Assert, Name := "FullTrust")> _
Public NotInheritable Class SPSecurityContext
'Usage
You do not need to declare an instance of a static class in order to access its members.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft