ADMIN_Security_MenuGroup

 Show all Hide all

Deprecated.

Determines if a user has access to a specified menu group.

Type: Scalar function
Area of use: General use

Return value: smallint

Returns -1 if the user, his role or function has been explicitly denied access to the menu group.

Returns 1 if the user, his role or function has been explicitly granted access to the menu group.

In all other cases the return value will be 0, which means the user has been neither granted nor denied access to the menu group. In Softadmin® this means the user will not be able to access the menu group.

Parameters:

@UserID mandatory int
Id of the user to query.
@MenugroupID mandatory int
Id of the menu group to query.