# Assigning Users to Groups

## Assigning Users to a Group

Users once created in the Cymmetri platform can be assigned to a group. Assigning users to a group helps ease the administrative efforts to apply the same policies and assign applications to multiple users.

When assigning users to groups, various approaches can be used:

* Adding User to Group (from the Group Page)
* Assigning a Group to a User (from the User's Page)
* Bulk Assigning Users to a Group (Using Group Assignment on Group Page)

### Adding User to Group <a href="#assigninguserstoagroup-addingusertogroup" id="assigninguserstoagroup-addingusertogroup"></a>

First, the administrator needs to click on the group name and enter the configuration for the group.

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/ZC7X9XN8HOYHmf9VjWZo/image.png" alt=""><figcaption></figcaption></figure>

Now, go to the Users Page and click on the **+Add** button to get a list of users to add to the group

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/RUxLl2ZEqjHeAXmoeuzq/image.png" alt=""><figcaption></figcaption></figure>

3\. Now, click on the assign button next to the user you wish to add to the group. Once assigned, the user can be seen on the Users page of the Group as shown below:

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/mJp4hlWYn3kYLfQd7tqt/image.png" alt=""><figcaption></figcaption></figure>

### Assigning a Group to a User

For this approach, the Administrator needs to go to **Identity Hub > User** page and then select the user from the list to whom the group needs to be assigned

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/yXs5NfR9gI36a2oZsD8j/image.png" alt=""><figcaption></figcaption></figure>

Go to the user's page, select the **Groups** menu, and click on the "**+Assign New**" button

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/97FEGeb8LRB9XsNhP15N/image.png" alt=""><figcaption></figcaption></figure>

This opens a pop-up window where a list of all groups is visible

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/c0FsHqs9ZWnSofv8ZTd1/image.png" alt=""><figcaption></figcaption></figure>

Click on the assign button, and the group is assigned to the user, or you may say the user becomes a part of the group

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/m3EfbkAN33b8rOTJ57cv/image.png" alt=""><figcaption></figcaption></figure>

### Bulk Assigning Users to a Group

For this approach, the Administrator needs to go to **Identity Hub > Group** page and then click on the **Group Assignment** button

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/NiwtOwI1NmTRh5OLmdSd/image.png" alt=""><figcaption></figcaption></figure>

A screen pops up that lets you select the CSV file you want to upload to import the users that need to be assigned to the group. This CSV file needs to have one column that contains the login ID of users. Upload the CSV file, you may also use the sample data file available and modify it to match your user's login ID.

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/uSioFr8fIR1ccsDUcEqT/image.png" alt=""><figcaption></figcaption></figure>

Once the file is selected and uploaded, next you need to select the group to which you want to assign the users.

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/pCPpAuVlMZgduZcjeELi/image.png" alt=""><figcaption></figcaption></figure>

After selecting the group, the column in the CSV file needs to be mapped with the Cymmetri login column.

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/Twc4P7JmIPuHfdNNLZsS/image.png" alt=""><figcaption></figcaption></figure>

Once mapped, click on the import button, and the users will be mapped to the assigned group, provided the login ID is correct

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/qDruecofuteJPZfcozsU/image.png" alt=""><figcaption></figcaption></figure>

Results of successfully Imported Users, Duplicate Users, or any errors that occurred during import can be seen in the **Logs > Import History** page

<figure><img src="https://content.gitbook.com/content/iOkb5tnBpg4wioRhBnTB/blobs/47vZlY3yGoLRioOZ6RQB/image.png" alt=""><figcaption></figcaption></figure>
