TolliumUser::GetRootObjectsForGrantableRights (open)

List accessible root objects for a list of grantable rights

Syntax

LOADLIB "mod::tollium/lib/users.whlib";

INTEGER ARRAY FUNCTION GetRootObjectsForGrantableRights(STRING ARRAY rights)

Parameters

STRING ARRAY rights

Rights to check. If the user has any of these rights (possibly implied) on an object, it will be returned

Return value

INTEGER ARRAY

The list of accessible object roots. [ 0 ] if the user has rights on all objects.

Description

Given a list of rights of one specific objecttype, give the list of objects the user has any right (from the list) on, but not on the parent object.