# AWX Ldap direct attribute access

**URL:** <https://forum.ansible.com/t/awx-ldap-direct-attribute-access/31403>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 1, 2019, 8:07pm UTC](https://forum.ansible.com/t/awx-ldap-direct-attribute-access/31403 "2019-10-01T20:07:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpowell](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpowell](https://forum.ansible.com/u/dpowell)\
**Post date:** [October 1, 2019, 8:07pm UTC](https://forum.ansible.com/t/awx-ldap-direct-attribute-access/31403/1 "2019-10-01T20:07:37Z")

</div>

When I run a ldapsearch for a given user I see their company and department however the only attributes I’m able to see and reference for a user in AWX are below.

`

{  
“first\_name”: “givenName”,  
“last\_name”: “sn”,  
“email”: “mail”  
}

`

Is there a method to reference either their company or department so I can use the API for users and set permissions based off their department/company?

Thanks
