# User Management

In this section, you will learn how to create and manage users.

## Create User

Here is a video on how to create and manage users for different operations within <code class="expression">space.vars.SITENAME</code>:

> **Note** : All the new users in <code class="expression">space.vars.SITENAME</code> have administrator-level permissions. With the administrator-level permissions, the users will have access to all features.

{% embed url="<https://youtu.be/r8HbL_Kz-rQ>" %}

To add a new user, follow the steps given below:

* Click **Administration**.
* The **Users** page will open. You can see the list of users already added.
* To add a new user, click the plus sign (+) on the top right corner of the screen.

<div align="center"><img src="https://3739347370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1a8GpUm2lq3lKbytaYjt%2Fuploads%2Fgit-blob-14902a1993d7f6b78e8607f265857e7d6a4d4e11%2FUser_Management_Image_1C.png?alt=media" alt="" width="2000"></div>

* The Create User form will open. Fill the following details in the form:
  * First name of the user
  * Last name of the user
  * Email Address of the user
  * User name: Provide name as per the username attribute on Identity Provider.\
    **Note:** For Azure Active Directory, it has to be same as 'Unique User Identifier'. To get 'Unique User Identifier' refer to [Username Identifier for Azure Active Directory](#username-identifer-for-azure-active-directory).

<div align="center"><img src="https://3739347370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1a8GpUm2lq3lKbytaYjt%2Fuploads%2Fgit-blob-c812acaaa869da66c6a4fc08e88cd54d84f9666c%2FUser_Management_Image_2CF123.png?alt=media" alt="" width="1000"></div>

* You also need to fill the fields as shown in the image above.
* Click **Save**.

> **Note** : All the new users have administrator-level permissions. With the administrator-level permissions, the users will have access to all features.

## Appendix

### Username Identifier for Azure Active Directory

* After logging in the Azure Active Directory,
  1. Go to **Enterprise applications**.

     <div align="center"><img src="https://3739347370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1a8GpUm2lq3lKbytaYjt%2Fuploads%2Fgit-blob-f424c45a009a560d512234c76723b54506f7d264%2FAzure_Services.png?alt=media" alt=""></div>
  2. Select your application from **All applications**.

     <div align="center"><img src="https://3739347370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1a8GpUm2lq3lKbytaYjt%2Fuploads%2Fgit-blob-c850a5e6b50b48989744a641d4d1dd4935f7a1d1%2FAzure_Application.png?alt=media" alt="" width="900"></div>
  3. Select **Single sign-on** from left panel.

     <div align="center"><img src="https://3739347370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1a8GpUm2lq3lKbytaYjt%2Fuploads%2Fgit-blob-0b3af1cbccbab439c04c9218b580183e15b1b210%2FAzure_SingleSignOn.png?alt=media" alt=""></div>
  4. Refer to section **User Attributes & Claims**.

     <div align="center"><img src="https://3739347370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1a8GpUm2lq3lKbytaYjt%2Fuploads%2Fgit-blob-9aa9fa9463c92c79e356cafbd301ccdc2499d58f%2FAzure_UserAttribute.png?alt=media" alt="" width="800"></div>

> **Note** : The attribute which is specified in 'Unique User Identifer' should be used while defining the user's 'User name' in <code class="expression">space.vars.SITENAME</code>. For example, here 'user.mail' is the selected attribute and so this property of the user from Azure Active Directory is to be used while defining 'User name' in <code class="expression">space.vars.SITENAME</code>.
