--- title: "Roles Criteria in Authentication Policies" slug: "roles-criteria-for-authentication-policies" description: "RapidIdentity supports a Roles criteria to define user groups for Authentication Policies. These are the updates on that feature." tags: ["RapidIdentity ", "Authentication", "Roles", "LDAP", "Policy"] updated: 2022-06-13T18:18:17Z published: 2022-06-13T18:18:17Z canonical: "help.rapididentity.com/roles-criteria-for-authentication-policies" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # Roles Criteria for Authentication Policies ## Roles Criteria in Authentication Policies Beginning in version 2022.6.8, RapidIdentity has created a Roles Criteria to define within Authentication polices, as [LDAP Criteria will be deprecated in January of 2023](/v1/docs/ldap-filter-deprecation-in-january-2023). 1. To access this, navigate to **Configuration > Authentication > Authentication Policies**. 2. Choose an Authentication Policy (or create a new one) and go to the **Criteria** tab. Select **Roles**. ![Roles Criteria - Blank.jpg](https://cdn.document360.io/4d958006-b877-42af-8de5-00e3bb7fe41d/Images/Documentation/Roles%20Criteria%20-%20Blank.jpg) 3. To enable the Roles criteria, click the checkbox next to **Enabled**. ***Note:** This also identifies that you will be using Roles instead of LDAP Filters for this policy.* From here you have three options: 1. **Add Role**: From the dropdown box beneath the checkboxes, determine which role this policy should be applied to. 2. **Apply to Everyone**: This will disable the Add Role dropdown and will apply to all users. ***Note:** If Apply to Everyone has been selected, the Add Role dropdown and Inverse Match option will not be selectable.* 3. **Inverse Match**: This will make the policy apply to only those who are *not* part of the chosen Roles added to the **Add Role** section. Also note that there is a flag in the LDAP Criteria tab encouraging admins to switch to Roles Criteria in sight of the planned deprecation. Roles cannot be Enabled if LDAP Filters are enabled. ![Deprecated LDAP.jpg](https://cdn.document360.io/4d958006-b877-42af-8de5-00e3bb7fe41d/Images/Documentation/Deprecated%20LDAP.jpg) ## Related - [LDAP Filter Deprecation in January 2023](/ldap-filter-deprecation-in-january-2023.md) - [Authentication Policies - Best Practices](/authentication-policies-best-practices.md)