Condividi tramite


WebPartPermission Members

Include Protected Members
Include Inherited Members

NOTE: This API is now obsolete.

Represents a custom permission that controls the ability to access Web Part resources.

The WebPartPermission type exposes the following members.

Constructors

  Name Description
Public method WebPartPermission Obsolete. Initializes a new instance of the WebPartPermission class.

Top

Properties

  Name Description
Public property Connections Obsolete. Gets or sets a value that determines whether Web Part to Web Part connections are allowed.

Top

Methods

  Name Description
Public method Assert (Inherited from CodeAccessPermission.)
Public method Copy Obsolete. Creates and returns an identical copy of the current permission object. (Overrides CodeAccessPermission.Copy().)
Public method Demand (Inherited from CodeAccessPermission.)
Public method Deny (Inherited from CodeAccessPermission.)
Public method Equals (Inherited from CodeAccessPermission.)
Protected method Finalize (Inherited from Object.)
Public method FromXml Obsolete. Reconstructs a WebPartPermission from an XML encoding. (Overrides CodeAccessPermission.FromXml(SecurityElement).)
Public method GetHashCode (Inherited from CodeAccessPermission.)
Public method GetType (Inherited from Object.)
Public method Intersect Obsolete. Returns the logical intersection of two WebPartPermission instances. (Overrides CodeAccessPermission.Intersect(IPermission).)
Public method IsSubsetOf Obsolete. Determines whether the current permission is a subset of the specified permission. (Overrides CodeAccessPermission.IsSubsetOf(IPermission).)
Public method IsUnrestricted Obsolete. Determines whether the current instance of the permission has unrestricted access.
Protected method MemberwiseClone (Inherited from Object.)
Public method PermitOnly (Inherited from CodeAccessPermission.)
Public method ToString (Inherited from CodeAccessPermission.)
Public method ToXml Obsolete. Creates an XML encoding of the permission object and its current state. (Overrides CodeAccessPermission.ToXml().)
Public method Union Obsolete. Creates a permission that is the union of the current permission and the specified permission. (Overrides CodeAccessPermission.Union(IPermission).)

Top

See Also

Reference

WebPartPermission Class

Microsoft.SharePoint.Security Namespace