1

I'm new to LDAP concepts and also now starting with adLDAP for PHP. Now everything is ok upto authentication.

Then how can i get the "Group Membership" (the Group Name where the member is existing) of a user after logged in, by knowing "only" the username and password ?

Cœur
  • 37,241
  • 25
  • 195
  • 267
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
  • Please do not cross post – ixe013 May 23 '12 at 11:55
  • My bad. I saw your three posts, they looked similar. Edit your question to unlock it, I will undo my downvote. Sorry for the trouble. – ixe013 May 24 '12 at 02:54
  • Please what??? Non of my posts are duplicated. Please read the different topics carefully. – 夏期劇場 May 24 '12 at 02:55
  • You are right, none of your posts are duplicated. It was my mistake, I will read all the topics carefully. I will undo the -1. But since it has been more than a few hours since the vote was cast, I cannot change it unless you edit your question. +No need to add `adlap` to the title, that's what tags are for. – ixe013 May 24 '12 at 03:01

1 Answers1

2

Oh i got it now! :D

$result = $adldap->user()->groups("username");
print_r($result);
夏期劇場
  • 17,821
  • 44
  • 135
  • 217