SecuritySystem.IsGranted(IPermission) Method

Checks whether or not the specified permission is granted to the current user.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public static bool IsGranted(
    IPermission permission
)
Public Shared Function IsGranted(
    permission As IPermission
) As Boolean

Parameters

Type Name Description
IPermission permission

An IPermission object that is the permission to be checked.

Returns

Type Description
Boolean

true, if the specified permission is granted; otherwise - false.

See Also