# Retrieve Security Groups

This section describes how to configure OmniGroupServer to retrieve security groups from Confluence.

NOTE: If your Confluence instance is connected to a directory server, such as Microsoft Active Directory, you might also need to retrieve groups from the directory and combine them with the groups retrieved from Confluence.

To retrieve security groups from Confluence

1. Open the OmniGroupServer configuration file.

2. In the `[Repositories]` section, create a new repository. For example:

       [Repositories]
       Number=1
       0=Confluence

3. In the section that you created to retrieve the Confluence groups, create a task to extract the information from Confluence. You can use the following configuration parameters (for a complete list of configuration parameters, refer to the OmniGroupServer Reference):

   `GroupServerJobType` | The type of task that OmniGroupServer must run. To retrieve Confluence groups, set this parameter to `Connector`. This instructs OmniGroupServer to send the `SynchronizeGroups` fetch action to the connector.
   `ConnectorHost` | The host name or IP address of the machine that hosts the Confluence connector.
   `ConnectorPort` | The ACI port of the connector.
   `ConnectorTask` | The name of a fetch task in the connector’s configuration file that contains the information and credentials required to connect to the Confluence repository.

   For example:

       [Confluence]
       GroupServerJobType=Connector
       ConnectorHost=localhost
       ConnectorPort=7128
       ConnectorTask=MyTask1

4. Save and close the OmniGroupServer configuration file.

_FT_HTML5_bannerTitle.htm