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
Public method SharePointPermission Initializes a new instance of the SharePointPermission class.

Top

Properties

  Name Description
Public property Impersonate
Public property ObjectModel Gets or sets a value indicating whether use of the SharePoint object model is allowed.
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 Assert (Inherited from CodeAccessPermission.)
Public method Copy 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 Reconstructs a SharePointPermission object from an XML encoding. (Overrides CodeAccessPermission.FromXml(SecurityElement).)
Public method GetHashCode (Inherited from CodeAccessPermission.)
Public method GetType (Inherited from Object.)
Public method Intersect Returns the logical intersection of two SharePointPermission instances. (Overrides CodeAccessPermission.Intersect(IPermission).)
Public method IsSubsetOf Determines whether the current permission is a subset of the specified permission. (Overrides CodeAccessPermission.IsSubsetOf(IPermission).)
Public method IsUnrestricted Determines whether the current instance of the permission has unrestricted access to the resources protected by the permission.
Protected method MemberwiseClone (Inherited from Object.)
Public method PermitOnly (Inherited from CodeAccessPermission.)
Public method ToString (Inherited from CodeAccessPermission.)
Public method ToXml Creates an XML encoding of the permission object and its current state. (Overrides CodeAccessPermission.ToXml().)
Public method Union Creates a permission that is the union of the current permission and the specified permission. (Overrides CodeAccessPermission.Union(IPermission).)

Top

See Also

Reference

SharePointPermission Class

Microsoft.SharePoint.Security Namespace