Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.