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 CreatePermission method of the SharePointPermissionAttribute class creates and returns a new SharePointPermission object.
Return Value
System.Security.IPermission A SharePointPermission that corresponds to this attribute.
Remarks
This method should only be called by the security system, never by application code.
At compile time, attributes convert security declarations to a serialized form in metadata. Declarative security data in metadata is created from the permission returned by the method that corresponds to this attribute.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security