GetAllGroups
Lists all groups contained in each repository, or all repositories in GroupServerDefaultRepositories if you don't specify any repositories.
You can filter the group list using the Matching
parameter. You can use question mark (?
) and asterisk (*
) wildcards in your search string.
/action=GetAllGroups[&Repository= ] [&Matching= ]
Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
Matching | Return only groups where the group name matches this string. |
Redirected | Allows the query to be performed against the repository. |
Repository | Return only groups contained in the specified repositories. |
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
Example
/action=GetAllGroups&Matching=Group/*
This action instructs the group server to return all groups whose name begins with Group/
Response
Below is an example of an XML response to action=getallgroups&repository=NT,eRoom
<responsedata> <Groups>DOMAIN1\GROUPA</Groups> <Groups>DOMAIN1\GROUPB</Groups> <Groups>DOMAIN1\GROUPC</Groups> <Groups>DOMAIN2\GROUPA</Groups> <Groups>DOMAIN2\GROUPB</Groups> <Groups>MyGroup</Groups> ... <GroupCount>128</GroupCount> <Error>Repository 'eRoom' not recognized</Error> </responsedata>