Thanks Ryan, I will look into this. I have found the IsMember function which allows me to loop check if an object (user) is a member of a specific group but it requires that I check each one of my "sub-groups" seperately. I am trying to simply start a search at a specific node within the hierarchy and then say "give me all of the groups from here down through the hierarchy where my user is a member" but so far no dice. I will check out the memberOf attribute you mentioned and see if it works.
Later. John -----Original Message----- From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 1:51 PM To: dotnet Subject: RE: Retrieving LDAP Group info with VB.NET there is a memberof attribute. In .NET I only know about using system.DirectoryServices, and if you are really lucky you'll be able to do this: mySearcher.PropertiesToLoad.Add("memberof"); where mySearcher is a System.DirectoryServices.DirectorySearcher and then loop through the collection returned. That is unless .NET does not support the data type. :-\ <>< Ryan -----Original Message----- From: JB [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 1:39 PM To: dotnet Subject: Retrieving LDAP Group info with VB.NET Does anyone know how to retrieve a user's group information with LDAP and VB.NET? I have a series of "sub-groups" that will contain a few of our users. I need to determine if a given user (at login time) is a member of one of those sub-groups, and return the name of the sub-group (or groups) that he/she is a member of. I have found how to set the SearchRoot property to specify the node within the AD heirarchy to begin my search but I haven't found any way to retrieve a list of all groups that a given user is a member of. Any ideas? --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
