WebPartPermissionAttribute Members

Include Protected Members
Include Inherited Members

NOTE: This API is now obsolete.

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

The WebPartPermissionAttribute type exposes the following members.

Constructors

  Name Description
Public method WebPartPermissionAttribute Obsolete. Initializes a new instance of the WebPartPermissionAttribute class With the specified SecurityAction.

Top

Properties

  Name Description
Public property Action (Inherited from SecurityAttribute.)
Public property Connections Obsolete. Gets or sets a value that determines whether Web Part to Web Part connections are allowed.
Public property TypeId (Inherited from Attribute.)
Public property Unrestricted Obsolete. Gets or sets a value indicating whether full (unrestricted) permission is declared to the resource protected by the attribute.

Top

Methods

  Name Description
Public method CreatePermission Obsolete. Creates and returns a new WebPartPermission 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

WebPartPermissionAttribute Class

Microsoft.SharePoint.Security Namespace