# Manage User Departments

<p class="callout info">The [User Departments](https://opscom.wiki/books/setup-configuration-for-admins/page/manage-user-departments) feature allows administrators to categorize users based on their departmental affiliation within an organization. Its primary purpose is to enhance user management by enabling better organization, reporting, and potentially targeted communications or access controls, ensuring that user data is structured and easily manageable. This article is intended for OPS-COM administrators responsible for configuring system settings and managing user profiles.</p>

## Setup and Configuration

This feature is a core administrative tool used to structure organizational data within the system.

**Admin Side:** Administrators must have the appropriate system role permissions enabled to access the user configuration menus and manage departmental lists.

**User Side:** Depending on your specific portal configuration, these departments may be selected by end-users during the registration process or when editing their profile, providing a key piece of information for accurate user categorization.

## Using this Feature

Administrators can use the following instructions to navigate the management interface and seamlessly add, edit, or delete user departments.

### Accessing the Management Interface

1. Hover over **System Administration**, click **Users**, then **Manage User Departments**.

### Adding User Departments

1. Click the **Add User Department** button.
2. Enter the desired name into the **Department Name** field.
3. Click the **Save Changes** button to add the new department to the system.

### Editing User Departments

1. Locate the specific user department you wish to modify in the list.
2. Click the **Edit** button next to the department.
3. Update the existing name of that department in the provided field.
4. Click the **Save Changes** button to apply your updates.

### Deleting User Departments

1. Locate the department you wish to remove from the list.
2. Click the **Delete** button next to the department.
3. Click the **Confirm** button to finalize the removal.

<p class="callout warning">In order to delete a user department, it must not currently be in use by any user in the system. Administrators must first verify that no users are actively assigned to this department before it can be removed.</p>

---

## <span style="color: rgb(22, 145, 121);">Best Practices and Considerations</span>

- <span style="color: rgb(22, 145, 121);">**Reflect your organizational structure:** **Create user departments that accurately reflect the specific departments or divisions within your organization.** This significantly helps with accurate reporting and long-term user organization.</span>
- <span style="color: rgb(22, 145, 121);">**Maintain consistency in naming:** **Use clear, consistent, and recognizable names for your departments to avoid confusion.** Avoid using obscure acronyms if they are not universally understood by your user base.</span>
- <span style="color: rgb(22, 145, 121);">**Ensure data integrity prior to deletion:** **Always ensure that no users are assigned to a department before attempting to delete it.** Reassigning users to another department (or to "None" if applicable) is a necessary step to maintain data integrity and prevent system errors.</span>
- <span style="color: rgb(22, 145, 121);">**Leverage departments for targeted reporting:** **Categorizing users by department can be highly valuable for generating targeted reports.** This structural data allows you to easily analyze trends across different parts of your organization, such as departmental permit sales or specific violation distributions.</span>

---

### Related Video

<iframe class="youtube-player conf-macro output-block" data-hasbody="false" data-macro-id="c03115ab-3341-4b92-b30c-2db8ea658b62" data-macro-name="widget" frameborder="0" height="416" src="https://www.youtube.com/embed/d57_-PDGFoE?wmode=opaque" style="width: 832px; height: 416px;" width="832"></iframe>