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 | |
---|---|---|
![]() |
WebPartPermission | Obsolete. Initializes a new instance of the WebPartPermission class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Connections | Obsolete. Gets or sets a value that determines whether Web Part to Web Part connections are allowed. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Assert | (Inherited from CodeAccessPermission.) |
![]() |
Copy | Obsolete. Creates and returns an identical copy of the current permission object. (Overrides CodeAccessPermission.Copy().) |
![]() |
Demand | (Inherited from CodeAccessPermission.) |
![]() |
Deny | (Inherited from CodeAccessPermission.) |
![]() |
Equals | (Inherited from CodeAccessPermission.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FromXml | Obsolete. Reconstructs a WebPartPermission from an XML encoding. (Overrides CodeAccessPermission.FromXml(SecurityElement).) |
![]() |
GetHashCode | (Inherited from CodeAccessPermission.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Intersect | Obsolete. Returns the logical intersection of two WebPartPermission instances. (Overrides CodeAccessPermission.Intersect(IPermission).) |
![]() |
IsSubsetOf | Obsolete. Determines whether the current permission is a subset of the specified permission. (Overrides CodeAccessPermission.IsSubsetOf(IPermission).) |
![]() |
IsUnrestricted | Obsolete. Determines whether the current instance of the permission has unrestricted access. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
PermitOnly | (Inherited from CodeAccessPermission.) |
![]() |
ToString | (Inherited from CodeAccessPermission.) |
![]() |
ToXml | Obsolete. Creates an XML encoding of the permission object and its current state. (Overrides CodeAccessPermission.ToXml().) |
![]() |
Union | Obsolete. Creates a permission that is the union of the current permission and the specified permission. (Overrides CodeAccessPermission.Union(IPermission).) |
Top