For LDAP integration, it is recommended that you assign roles based on your LDAP groups.
To ensure that users have the correct roles as soon as they log in, you create groups in Studio that have the same name as your LDAP groups, but in lowercase, then assign the correct roles to each group.
To create a user group and then assign a role to that group: