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 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/