How to retrieve all the groups where an user belongs to

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all
I want a function to retrieve ALL the groups where an user belongs to, but all the functions that I am trying they spend too many time because like the groups are nested is necesary to go over all the directory tree to retrieve all of them
I would want to know if there is an easy way to retrieve them without execute the LDAP call a lot of times that it spends too many execution time
When I execute the LDAP call the only parameter that I have to fill is the user name because I want to search for ALL the LDAP without restrictions
Thanks in advance
Regards.
 
Rafael Lázaro said:
Hi all,
I want a function to retrieve ALL the groups where an user belongs to, but
all the functions that I am trying they spend too many time because like the
groups are nested is necesary to go over all the directory tree to retrieve
all of them.
I would want to know if there is an easy way to retrieve them without
execute the LDAP call a lot of times that it spends too many execution time.

No, because they are stored the way you describe -- and in fact if you
really mean "ALL" the nested groups you might have to follow links to
other domains within the trust relationship.....not just the same domain.

--
Herb Martin
When I execute the LDAP call the only parameter that I have to fill is the
user name because I want to search for ALL the LDAP without restrictions.
 
Back
Top