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.v26.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
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. |
Remarks
You can also use the IsGrantedExtensions class methods to check if the current user is allowed to execute the specified secured operation. These methods do not require an IPermissionRequest object.
See Also