Share via


CreatePermission Method

The CreatePermission method of the SingleSignonPermissionAttribute class creates and returns a new SharePointPermission object.

Return Value

System.Security.IPermission A SharePointPermission object 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