In the following example, a user with the admin role inherits all privileges associated with the Active Directory (AD) Administrator group.
device# configure terminal Entering configuration mode terminal
A maximum of 16 AD groups can be mapped to the device roles.
device(config)# ldap-server maprole group Administrator role admin