# Group Based AD Authentication

Enterprise customers may create role-based permission by Active Directory and get permission from internal authentication systems.

Virtualmetric can create roles and organizations based on Active Directory.

An organization is created using the organization ID or name.&#x20;

After creating the organization, roles associated with the organization are created.

1\.      VIRTUALMETRIC\_XXXX\_ADMIN: Admin role for specified organization.&#x20;

2\.      VIRTUALMETRIC\_XXXX\_USER: User role for specified organization.&#x20;

3\.      VIRTUALMETRIC\_XXXX\_READONLY: Readonly role for specified organization.&#x20;

{% hint style="info" %}
The "XXXX" expressions could be the name or ID of the organization.
{% endhint %}

Lastly, users can get permission to roles.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.virtualmetric.com/settings/users/group-based-ad-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
