473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

domain user list

I have an application in which I need to obtain a list of valid domain users
like one can obtain when adding a new login in Enterprise Manager. My
application is written in C# (.NET 2.0 Beta). I looked through the help,
but could not find the .NET way to do it. Can anyone give me any pointers?

Tim
Nov 17 '05 #1
2 2547
Take a look at http://www.codeproject.com/dotnet/QueryADwithDotNet.asp for
some info on how to hit Active Directory with System.DirectoryServices.

Brendan
"Tim Wallace" wrote:
I have an application in which I need to obtain a list of valid domain users
like one can obtain when adding a new login in Enterprise Manager. My
application is written in C# (.NET 2.0 Beta). I looked through the help,
but could not find the .NET way to do it. Can anyone give me any pointers?

Tim

Nov 17 '05 #2
Thanks for the pointer. I'll give it a whirl.

Tim

"Brendan Grant" <gr****@NOSPAMdahat.com> wrote in message
news:D2**********************************@microsof t.com...
Take a look at http://www.codeproject.com/dotnet/QueryADwithDotNet.asp for
some info on how to hit Active Directory with System.DirectoryServices.

Brendan
"Tim Wallace" wrote:
I have an application in which I need to obtain a list of valid domain
users
like one can obtain when adding a new login in Enterprise Manager. My
application is written in C# (.NET 2.0 Beta). I looked through the help,
but could not find the .NET way to do it. Can anyone give me any
pointers?

Tim

Nov 17 '05 #3

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

Similar topics

2
by: Dirk Hagemann | last post by:
Hi! I'm using this code to list all computers of our WinNT-Domains: import win32com.client from pprint import pprint as p domain='domainX' auswahl='computer' def enumerate(domain,auswahl):...
5
by: Peter Murray | last post by:
Hi! I hope someone can assist me, I have been using Python for a year or two, but I am not a programmer and only use it occasionally for small issues or just for fun. So I perhaps do not have the...
3
by: george | last post by:
Hello, I have installed DB2 on a Windows2000 system. I set the authentication to client and have all clients trusted. I can not seem to connect to the database as the user logged into the...
1
by: Jason | last post by:
Hi I am busy building the admin part of my ASP.NET application and was just wondering if it is possible to retrieve all user names on the current domain. eg. i am an admin on domain "BEEHIVE"...
7
by: Reza | last post by:
Hello The project was working, where I had a domain user registered in the database as a user, and I used that user to connect the datebase. Everything was fine and it was working, then when I...
2
by: Mario | last post by:
Hi, i am new on VB .net and i want to list all Active Directory Users in a WebInterface. It is no problem in Windows Applications to list users, but in Web Application i allay get the following...
2
by: Tessa | last post by:
Hi, We have a .net web application, and are trying to use PrinterSettings.InstalledPrinters to list the printers installed on the webserver. (Windows 2003 server R2, IIS 6, .net framework 2.0.)...
3
by: Terry Olsen | last post by:
I'm trying to add a domain user to a local group using the code below: Dim LCL As New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer") Dim DOM As New...
2
by: Vayse | last post by:
1) How do I get a list of all users in a domain? I've searched the web, but any sample I've found seems to use VB 2003 or earlier. Is there any samples that user 2005, and make full use of the My...
4
by: JB | last post by:
I am trying to get a list of all the active computers running on my domain. I'm writing some remote management style software with WMI, which works fine when i know the computer name, but i just...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.