SoftadminApi.User_HasAccessToMenuGroup

Type: Scalar function

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

Return value: smallint

Returns 1 if the user has been 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.