# Retrieve Security Group Information

To retrieve security groups using OmniGroupServer, follow these steps.

To retrieve security groups

1. Open the OmniGroupServer configuration file.

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

       [Repositories]
       Number=1
       0=Salesforce

3. In the new section, configure a task to obtain the groups through the Salesforce Connector. You can use the following configuration parameters (for a complete list of configuration parameters, refer to the OmniGroupServer Reference).

   `GroupServerJobType` | The type of task to run. To retrieve group information through a connector, set this parameter to `Connector`. OmniGroupServer will send the `SynchronizeGroups` action to your Salesforce Connector.
   `ConnectorHost` | The host name or IP address of the machine that hosts the Salesforce Connector.
   `ConnectorPort` | The ACI port of the Salesforce Connector.
   `ConnectorTask` | The name of the fetch task in the connector's configuration file that contains the information and credentials required to obtain the group information from the Salesforce repository.

   For example:

       [Salesforce]
       GroupServerJobType=Connector
       ConnectorHost=10.0.0.1
       ConnectorPort=7060
       ConnectorTask=MyTask

4. (Optional) You can set further parameters to define the schedule for the task. You can set these parameters in the task section (to schedule only the current task), or in the `[Default]` section (to provide a default schedule for all OmniGroupServer tasks).

   `GroupServerStartTime` | The time when a task starts.
   `GroupServerRepeatSecs` | The number of seconds that elapse before OmniGroupServer repeats a task.

   For example:

       [Salesforce]
       GroupServerJobType=Connector
       ConnectorHost=10.0.0.1
       ConnectorPort=
       ConnectorTask=MyTask
       GroupServerStartTime=02:00
       GroupServerRepeatSecs=86400

5. Save and close the OmniGroupServer configuration file.

_FT_HTML5_bannerTitle.htm