gheeres / node-activedirectory

ActiveDirectory is an Node.js ldapjs client for authN (authentication) and authZ (authorization) for Microsoft Active Directory with range retrieval support for large Active Directory installations.
MIT License
534 stars 146 forks source link

How to get "enabled" field? #240

Open felipeiagocruz opened 2 years ago

felipeiagocruz commented 2 years ago

Hey guys!

I'm using the package and getting all the fields I need from AD for my application, but I can't return the "Enabled" field. Is it not available in this package?

attributes: { user: [ 'company', 'name', 'enabled' ],