Share via


SharePointPermission Class

Represents a custom permission that controls the ability to access Microsoft SharePoint Products and Technologies. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  System.Security.CodeAccessPermission
    Microsoft.SharePoint.Security.SharePointPermission

Namespace:  Microsoft.SharePoint.Security
Assembly:  Microsoft.SharePoint.Security (in Microsoft.SharePoint.Security.dll)

Syntax

<SerializableAttribute> _
Public NotInheritable Class SharePointPermission _
    Inherits CodeAccessPermission _
    Implements IUnrestrictedPermission

Dim instance As SharePointPermission
[SerializableAttribute]
public sealed class SharePointPermission : CodeAccessPermission, 
    IUnrestrictedPermission

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SharePointPermission Members

Microsoft.SharePoint.Security Namespace