Open topic with navigation

# Retrieve Groups from Alfresco

This section describes how to retrieve group information from Alfresco.

To retrieve groups from Alfresco

1. Open the OmniGroupServer configuration file.

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

       [Repositories]
       Number=1
       0=Alfresco

3. Create a section to contain the task details and set the following configuration parameters:

   `GroupServerLibrary` | The full path (including the file name) to the library that allows the group server to access the repository. Use the `ogs_alfresco` library.
   `AlfrescoUrl` | The URL of the Alfresco instance to retrieve users and groups from. OmniGroupServer appends `/service/api/groups` to the value of this parameter, so do not include this part of the URL. For example, if the REST API for retrieving groups is located at `http://10.0.0.2/alfresco/service/api/groups`, set this parameter to `http://10.0.0.2/alfresco`.
   `GroupServerAllUserGroups` | (Optional) The `ogs_alfresco` library does not automatically populate the `GROUP_EVERYONE` group. To add every user to the `GROUP_EVERYONE` group, set this parameter to `GROUP_EVERYONE`.
   `BasicUsername` | The user name to use to access the Alfresco REST API using basic authentication. Micro Focus recommends encrypting the value of this parameter before entering it into the configuration file. For information about how to encrypt parameter values, see Encrypt Passwords.
   `BasicPassword` | The password to use to access the Alfresco REST API using basic authentication. Micro Focus recommends encrypting the value of this parameter before entering it into the configuration file. For information about how to encrypt parameter values, see Encrypt Passwords.

   For example:

       [Alfresco]
       GroupServerLibrary=ogs_alfresco
       AlfrescoUrl=http://alfresco-host/alfresco
       GroupServerAllUserGroups=GROUP_EVERYONE

       // For basic authentication...
       BasicUsername=admin
       BasicPassword=password

   For a complete list of configuration parameters that you can use to configure this task, refer to the OmniGroupServer Reference

4. Save and close the OmniGroupServer configuration file.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm