Compartir a través de


Microsoft.SharePoint.Security Namespace

Provides a set of code access permission and attribute classes designed to protect a specific set of resources and operations, such as access to the Windows SharePoint Services object model, the ability to do unsafe saving on HTTP Gets, and enabling Web Part to Web Part connections. The purpose of the attribute classes is to provide support for declarative security so that developers can specify the custom permission when using declarative syntax for security actions such as requests, demands, or assertions.

Classes

  Class Description
SharePointPermission Represents a custom permission that controls the ability to access Microsoft SharePoint Products and Technologies. This class cannot be inherited.
SharePointPermissionAttribute Allows security actions for SharePointPermission to be applied to code using declarative security. This class cannot be inherited.
WebPartPermission Obsolete. Represents a custom permission that controls the ability to access Web Part resources.
WebPartPermissionAttribute Obsolete. Allows security actions for the WebPartPermission to be applied to code using declarative security. This class cannot be inherited.