|
see also the module Group manipulation functions
|
void | fwAccessControl_getAllGroups (dyn_string &grouplist, dyn_string &fullGroupNames, dyn_string &exceptionInfo) |
|
void | fwAccessControl_getGroup (string groupName, string &groupFullName, string &description, int &groupId, dyn_string &exceptionInfo) |
|
void | fwAccessControl_deleteGroup (string groupName, dyn_string &exceptionInfo) synchronized(_fwAccessControl_mutex) |
|
void | fwAccessControl_createGroup (string groupName, string groupFullName, string groupComment, dyn_string privileges, dyn_string &exceptionInfo) synchronized(_fwAccessControl_mutex) |
|
void | fwAccessControl_updateGroup (string groupName, string newGroupName, string groupFullName, string groupComment, dyn_string privileges, dyn_string &exceptionInfo) synchronized(_fwAccessControl_mutex) |
|
void | fwAccessControl_getGroupMembers (string groupName, dyn_string &members, dyn_string &exceptionInfo) |
|
void | fwAccessControl_resolveGroupsRecursively (dyn_string groupNames, dyn_string &includedGroups, dyn_string &includedBy, dyn_string &exceptionInfo, bool recursive=TRUE) |
|
void | fwAccessControl_getGroupsInGroup (string groupName, dyn_string &includedGroups, dyn_string &exceptionInfo, bool recursive=FALSE) |
|
void | fwAccessControl_setGroupsInGroup (string groupName, dyn_string includedGroups, dyn_string &exceptionInfo) |
|
void fwAccessControl_resolveGroupsRecursively |
( |
dyn_string |
groupNames, |
|
|
dyn_string & |
includedGroups, |
|
|
dyn_string & |
includedBy, |
|
|
dyn_string & |
exceptionInfo, |
|
|
bool |
recursive = TRUE |
|
) |
| |
resolves groups recursively
for a set of groups specified in groupNames
, returns the list of groups that are included by them (with recursive processing) and returns their names in the includedGroups
; the includedGroups
will include all the entries specified in groupNames
. For the subgroups being resolved recursively, the includedBy
will contain the name of the "main" groups that include this group; for the "main" groups it will be empty
- Parameters
-
groupNames | the list of names of the groups, the names of which are to be resolved |
includedGroups | on return, it will contain the names of all groups that specified in groupNames, plus the groups that are included in them; if recursive=TRUE , the included groups will be resolved recursively |
includedBy | on return, for every entry in includedGroups it will either contain an empty string (for groups that were originally specified in groupNames ) or the name of the group, that made the entry included in the list; |
exceptionInfo | standard exception handling parameter |
recursive | (optional, default TRUE) determines if the group hierarchy should be traversed recursively, so that all children are returned. |
Note that if a group is specified in groupNames
, and then it turns out that it is also included by some other group, the includedBy
for this group will be empty.