ahaenggli/AzureAD-LDAP-wrapper

question on LDAP queries on users.json

letitfly opened this issue · 2 comments

For my task, I need to access one of the attribute "accountEnabled" stored in .cache/users.json

I can run ldap queries on stuff in .cache/azure.json, but have no idea on how to query stuff in .cache/users.json.

Anyone knows how?

You can only query the values in azure.json. This is the file with the entire ldap database in it. You need to write and use a customizer to adjust/add values (function customizer.ModifyLDAPUser). Once the values are in the azure.json, you can query them.

got it. Thank you!