Share via


SPSecurityContext class

Fornece uma classe de utilitário estático que contém propriedades e métodos para trabalhar com o contexto de segurança do usuário atual.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPSecurityContext

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

Syntax

'Declaração
<PermissionSetAttribute(SecurityAction.Assert, Name := "FullTrust")> _
Public NotInheritable Class SPSecurityContext
'Uso
You do not need to declare an instance of a static class in order to access its members.
[PermissionSetAttribute(SecurityAction.Assert, Name = "FullTrust")]
public static class SPSecurityContext

Thread safety

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

Ver também

Referência

SPSecurityContext members

Microsoft.SharePoint namespace