SharePointPermission Members
Include Protected Members
Include Inherited Members
Represents a custom permission that controls the ability to access Microsoft SharePoint Products and Technologies. This class cannot be inherited.
The SharePointPermission type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SharePointPermission | Initializes a new instance of the SharePointPermission class. |
Top
Properties
Name | Description | |
---|---|---|
Impersonate | ||
ObjectModel | Gets or sets a value indicating whether use of the SharePoint object model is allowed. | |
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 | |
---|---|---|
Assert | (Inherited from CodeAccessPermission.) | |
Copy | 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 | Reconstructs a SharePointPermission object from an XML encoding. (Overrides CodeAccessPermission.FromXml(SecurityElement).) | |
GetHashCode | (Inherited from CodeAccessPermission.) | |
GetType | (Inherited from Object.) | |
Intersect | Returns the logical intersection of two SharePointPermission instances. (Overrides CodeAccessPermission.Intersect(IPermission).) | |
IsSubsetOf | Determines whether the current permission is a subset of the specified permission. (Overrides CodeAccessPermission.IsSubsetOf(IPermission).) | |
IsUnrestricted | Determines whether the current instance of the permission has unrestricted access to the resources protected by the permission. | |
MemberwiseClone | (Inherited from Object.) | |
PermitOnly | (Inherited from CodeAccessPermission.) | |
ToString | (Inherited from CodeAccessPermission.) | |
ToXml | Creates an XML encoding of the permission object and its current state. (Overrides CodeAccessPermission.ToXml().) | |
Union | Creates a permission that is the union of the current permission and the specified permission. (Overrides CodeAccessPermission.Union(IPermission).) |
Top