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

Parameter Description Required
EncryptResponse Encrypt the output. No
FileName The file to write output to. No
ForceTemplateRefresh Forces the server to load the template from disk. No
Matching Return only groups where the group name matches this string. No
Output Write output to a file. No
Redirected Allows the query to be performed against the repository. No
Repository Return only groups contained in the specified repositories. No
Template The template to use for the action output. No
TemplateParamCSVs A list of variables to use for the specified template. No

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>

_HP_HTML5_bannerTitle.htm