OmniGroupServer 12.13

# 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>

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL OmniGroupServer 12.13

Topic Title: GetAllGroups