SharePointPermissionAttribute Members

Include Protected Members
Include Inherited Members

Allows security actions for SharePointPermission to be applied to code using declarative security. This class cannot be inherited.

The SharePointPermissionAttribute type exposes the following members.

Constructors

  Name Description
Public method SharePointPermissionAttribute Initializes a new instance of the SharePointPermissionAttribute class with the specified SecurityAction.

Top

Properties

  Name Description
Public property Action (Inherited from SecurityAttribute.)
Public property Impersonate
Public property ObjectModel Gets or sets a value indicating whether use of the Microsoft SharePoint Products and Technologies object model is allowed.
Public property TypeId (Inherited from Attribute.)
Public property Unrestricted Gets or sets a value indicating whether full (unrestricted) permission is declared to the resource protected by the attribute.
Public property UnsafeSaveOnGet Gets or sets a value indicating whether saving to the Microsoft SharePoint Products and Technologies database is allowed during an HTTP-GET request.

Top

Methods

  Name Description
Public method CreatePermission Creates and returns a new SharePointPermission object. (Overrides SecurityAttribute.CreatePermission().)
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

See Also

Reference

SharePointPermissionAttribute Class

Microsoft.SharePoint.Security Namespace