SecuritySystem.Demand Method

Name Description
Demand(IPermission)

Throws a SecurityException exception if the specified permission is not granted to the current user.

Demand(IPermissionRequest)

Throws a SecurityException exception when the current user is allowed to execute a particular secured operation.