So, I am using Ldap in my project and I have added all the users to a group. Now for a special role access I added few users to another global group: special_role.
What I want is to check whether the logged in user has a particular global group or not? Does ldap.js offer the functionality for this? Or is their a better way of doing this.
I tried looking up on the internet didn't find relevant answers.