Skip to main content
A newer version of this page is available. .

SecuritySystem.IsGranted(IPermissionRequest) Method

Checks whether or not the current user is allowed to execute the specified secured operation.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public static bool IsGranted(
    IPermissionRequest permissionRequest
)

Parameters

Name Type Description
permissionRequest IPermissionRequest

An IPermissionRequest object that specifies the secured operation.

Returns

Type Description
Boolean

true, if the user can execute the secured operation; otherwise - false.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsGranted(IPermissionRequest) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also