I am using the adLDAP class above to authenticate users against our ldap server.
I was wondering how I could check multiple groups to see if the user belongs to either, if they belong to either.
I don't know if
user_ingroup($username,$group,$recursive=NULL);
can handle search two different groups for the user, need help coding it to search for the user in two different groups, and as soon as it finds it in one of those, break the operation and set a variable to true.
Any help is appreciated.