Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SharePointPermission constructor initializes a new instance of the SharePointPermission class.
Parameters
state One of the System.Security.Permissions.PermissionState values.
Exceptions
| Exception Type | Condition | 
|---|---|
| ArgumentException | The state parameter is not a System.Security.Permissions.PermissionState value. | 
Remarks
The constructor creates permissions with either fully restricted (None) or Unrestricted access to SharePoint server resources.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security