473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

enumerate active directory groups using vb.net

Hi
I want to enumerate all groups of an active directory.
How do I do that?
Thanks

Sep 10 '07 #1
3 4805
Hi,

You obviously never searched Google or anything. As you're lazy I will be lazy &
just give you the search results & not code something especially for you

Just adapt this a little:

http://www.codeproject.com/useritems...y_in_vbnet.asp

Google List:

http://www.google.co.uk/search?hl=en...e+Search&meta=
Have a look through this list:

http://www.planet-source-code.com/vb...1=Quick+Search

--
Newbie Coder
(It's just a name)

"interuser" <in*******@hotmail.comwrote in message
news:11**********************@o80g2000hse.googlegr oups.com...
Hi
I want to enumerate all groups of an active directory.
How do I do that?
Thanks

Sep 10 '07 #2
ever heard of ADSI ?

well that is what you need to do what you want

hth

Michel

"interuser" wrote:
Hi
I want to enumerate all groups of an active directory.
How do I do that?
Thanks

Sep 10 '07 #3
Thx
A code sample would be appreciated.

On Sep 10, 3:28 pm, Michel Posseth [MCP]
<MichelPosseth...@discussions.microsoft.comwrote :
ever heard of ADSI ?

well that is what you need to do what you want
hth

Michel

"interuser" wrote:
Hi
I want to enumerate all groups of an active directory.
How do I do that?
Thanks- Hide quoted text -

- Show quoted text -

Sep 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Yaseen D M | last post by:
I am list groups of a user from active directory. I get the list but if i remove the user from one of the groups and again list the groups it still includes the groups from the the user was...
0
by: news | last post by:
I have one Active Directory Group that contains users and groups objects. I need recursively call my function to get all users that are in the group and subgroups. All is working fine, when i...
4
by: CodeRazor | last post by:
I need to retrieve a list of groups from Active Directory. Then i need to retrieve a list of users from a group. I'm unfamiliar with Active Directory objects. Can i connect to Active Directory...
1
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry =...
4
by: Patirck Ige | last post by:
Would it be easier to have an intranetsystem built based on some security gruopson Active directory or having to use a Database to have a validation store and Roles. Which way would be the best to...
6
by: varkey.mathew | last post by:
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated...
4
by: Patrick.O.Ige | last post by:
If i want to generate a menu structure depending on who is logged in in an intranet system(using windows authentication) is it better to use the GROUPS in Active Directory or to move the Active...
0
by: bcanter | last post by:
I found a file on the web that will allow you to enumerate groups but it was an .hta and the top level admins won't allow this. I need to give managers access to the groups so that when a new user is...
2
by: rote | last post by:
My sceanrio is this on an asp.net 2.0 freamework. I want to use any of the data controls e.g Gridview,DetailView etc.. But i want some buttons e.g update,edit save etc to be enable or disabled...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.