.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SecurityStrategy.IsGranted(IList<IPermissionRequest>) Method

Checks whether the specified operations are allowed.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v19.2.dll

Declaration

public virtual IList<bool> IsGranted(
    IList<IPermissionRequest> permissionRequests
)
Public Overridable Function IsGranted(
    permissionRequests As IList(Of IPermissionRequest)
) As IList(Of Boolean)

Parameters

Name Type Description
permissionRequests IList<IPermissionRequest>

An IList<IPermissionRequest> object that specifies the secured operations.

Returns

Type Description
IList<Boolean>

true, when the operations are allowed; otherwise - false.

Remarks

The passed Permission Requests should have an appropriate Permission Request Processors registered within the Security Strategy. To register a Permission Request, handle the SecurityStrategy.CustomizeRequestProcessors event. Refer to the How to: Implement Custom Security Objects (Users, Roles, Operation Permissions) topic to see an example.

Implements

DevExpress.ExpressApp.Security.IRequestSecurity.IsGranted(IList<IPermissionRequest>)
See Also