---
title: "Assign User to Role Members"
description: "Assign, edit, and delete user roles in Access Analyzer to enable Role Based Access, including the required Administrator role and the NEAUsers group."
sidebar_position: 50
---

# Assign User to Role Members

Role Based Access becomes enabled within Access Analyzer as soon as the first role has been assigned
in the Access Role wizard. When saving the first role or set of roles added to the Role Membership
list in the Roles view, the Administrator role must be included for a least one user or an error
message displays.

:::note
You must have local administrator rights on the Access Analyzer Console server to assign
roles and enable Role Based Access.
:::


Assign roles in the Access Analyzer Console:

![Add Access option on the Access page](/images/accessanalyzer/12.0/admin/settings/access/rolebased/addaccess.webp)

**Step 1 –** On the Access page, click **Add Access**. The Access Type wizard opens.

![Access Type page of the Access Role wizard](/images/accessanalyzer/12.0/admin/settings/access/rolebased/accesstypeuser.webp)

**Step 2 –** Select the **A user or group accessing this console** option. Click **Next**.

![Console Access page of the Access Role wizard](/images/accessanalyzer/12.0/admin/settings/access/rolebased/consoleaccess.webp)

**Step 3 –** On the Console Access page, specify a group or user in the **Name** field. Use the
ellipsis (**…**) to browse for accounts with the Select User or Group window.

- (Optional) To use previously configured MSA and gMSAs for authentication, select the gMSA option
  from the Object Types list. See the Microsoft
  [Group Managed Service Accounts](https://learn.microsoft.com/en-us/windows-server/security/group-managed-service-accounts/group-managed-service-accounts-overview)
  article for additional information.

    - Change the location to the domain you want and click **Object Types**, then select **Service
      Accounts**.
    - Add the gMSA name (`gMSAadmin$`), then click **OK**.
    - The Member Type will show as `msDS-GroupManagedServiceAccount` on the Access page.

![Console Access page with user added](/images/accessanalyzer/12.0/admin/settings/access/rolebased/consoleaccessfinish.webp)

**Step 4 –** Select a role for the group or user from the Role list. Click **Finish**. The group or
user and role is added to the Role Membership list in the Roles view.

**Step 5 –** Repeat Steps 1-4 to assign roles to other groups or users.

**Step 6 –** Click **Save** and then **OK** to confirm the changes. All applied roles are lost if
they aren't saved.

Role Based Access is enabled when the first role has been assigned.

![Error message when Administrator role isn't specified](/images/accessanalyzer/12.0/admin/settings/access/rolebased/noadminerror.webp)

The first role or set of roles saved must include the Administrator role. Clicking **Save** for the
first role or set or roles without including the Administrator generates an error message in the
Access Analyzer Console.

When Role Based Access is first enabled, restart the Access Analyzer application to ensure all roles
are properly active. When saving roles for the first time, an NEAUsers local group is created on the
Access Analyzer Console server with permissions to the Access Analyzer application directory. When
users are assigned roles, they are added to this NEAUsers group to give them the necessary
permissions. This allows roles to be used without requiring local Administrator rights.

:::note
The Web Administrator and Report Viewer roles don't require access to the Access Analyzer
console, so users assigned these roles aren't added to the NEAUsers group.
:::


![NEAUsers group](/images/accessanalyzer/12.0/admin/settings/access/rolebased/neausersgroup.webp)

There are two separate sets of permissions:

- Applies to **This folder only**
- Applies to **Subfolders and files only**

## Edit Role Members' Responsibilities

Edit an Access Analyzer user's role:

![Edit Member Role](/images/accessanalyzer/12.0/admin/settings/access/rolebased/editmemberrole.webp)

**Step 1 –** On the Access page, select the user and click **Edit Member Role**.

![Edit Console Access wizard page](/images/accessanalyzer/12.0/admin/settings/access/rolebased/consoleaccessedit.webp)

**Step 2 –** Select a new role for the user from the Roles list.

**Step 3 –** Click **Finish**. The role is updated on the Access page.

**Step 4 –** Repeat Steps 1-3 to edit other users’ roles.

**Step 5 –** Click **Save** and then **OK** to confirm the changes. All applied roles are lost if
they aren't saved.

The changed roles take affect the next time the users logs into the Access Analyzer application. If
a user is actively logged into Access Analyzer at the same time the role for that user is changed,
then the user needs to exit and re-launch the application for the role to take effect.

## Delete Role Member

Delete a user's access to the Access Analyzer Console:

![Delete Role Member](/images/accessanalyzer/12.0/admin/settings/access/rolebased/deleterolemember.webp)

**Step 1 –** On the Access page, select the user and click **Delete Role Member**. The
selected user will be removed from the list.

:::note
No confirmation will be requested. However the changes will not be finalized until Step 3
is completed.
:::


**Step 2 –** Repeat Step 1 to remove other users as desired.

**Step 3 –** Click **Save** and then **OK** to confirm the deletions. The users will not be deleted
if the changes aren't saved.

The deleted users will no longer be able to log into the Access Analyzer application. If a user is
actively logged into Access Analyzer at the same time of the deletion, the user will need to exit
the application for the deletion to take effect.
