# Creating Usergroups based on Users

# Introduction

Configure user-to-groups.map to create usergroups based on users.

# Configuring user-to-groups.map

  1. Open user-to-groups.map in the Configuration director, which is by default in C:\Program Files\OpeniT\Core\Configuration.

    Notice that it contains instructions on how to edit the file.

  2. Specify usernames with the following syntax:

    MAP: UserGroupName (GroupType)
    User1
    User2
    UserN

    Empty lines are allowed — any line beginning with # as the first non-white character is considered a comment. Globbing is also supported. You can use several globbing patterns, but keep in mind that they are slower than exact matches.

    In the mapping file, entries are case-insensitive. This means that variations in capitalization, such as 'User' and 'user', will be recognized as identical. Also, both leading and trailing spaces are removed from entries.

    Each user can belong to multiple groups.

    Example
    MAP: Finance (Department)
    User079
    User291

    This example maps User079 and User291 in Finance and using the Department as group type.

  3. Save the changes.

  1. Open user-to-groups.map in the etc director, which is by default in /var/opt/openit/etc.

    Notice that it contains instructions on how to edit the file.

  2. Specify usernames with the following syntax:

    MAP: UserGroupName (GroupType)
    User1
    User2
    UserN

    Empty lines are allowed — any line beginning with # as the first non-white character is considered a comment. Globbing is also supported. You can use several globbing patterns, but keep in mind that they are slower than exact matches.

    In the mapping file, entries are case-insensitive. This means that variations in capitalization, such as 'User' and 'user', will be recognized as identical. Also, both leading and trailing spaces are removed from entries.

    Each user can belong to multiple groups.

    Example
    MAP: Finance (Department)
    User079
    User291

    This example maps User079 and User291 in Finance and using the Department as group type.

  3. Save the changes.

Licpoll2

Licenseevents2

# Next Steps?

Proceed with data regeneration after configuring all the necessary mapping files to apply the changes in the real-time and historical reports.

For real-time reports:

   Generating License Status Data  

For historical reports:

   Data Generation  

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close