A newer version of this page is available. Switch to the current version.

SecuritySystem.Demand Method

Name Parameters Description
Demand(IPermissionRequest) static permissionRequest Throws a SecurityException exception when the current user is allowed to execute a particular secured operation.
Demand(IPermission) static permission Throws a SecurityException exception if the specified permission is not granted to the current user.