473,387 Members | 1,493 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.

Get all domain users

In my internal-use apps, I need the usernames. In non-Net ASP, I could fetch
them from the Domain users list using:

Set objDomain = GetObject("WinNT://MyDomain,domain")
objDomain.Filter = Array("user")
For Each objUser In objDomain
Response.Write "<TR>" &
"<TD>" & objUser.Name & "</TD>" & _
"<TD>" & objUser.FullName & "</TD>" & _
"<TD>" & objUser.Description & "</TD>" & _
"</TR>"
Next

What's the equivalent in ASPNET?
Nov 18 '05 #1
0 936

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

Similar topics

27
by: Tim Tyler | last post by:
Are there many PHP public domain projects out there? I'm particularly interested in CMS project materials. So far - outside of my own projects - I've found /very/ little PD PHP material out...
0
by: RobinB | last post by:
We gave created a web application that uses AD for authorization and authentication. The application can be used by domain users as well as the general public. What we currently have is 2 domains...
2
by: blogan | last post by:
We are running DB2 7.1 Workgroup edition on a Windows NT server, in a Windows 2003 domain. They have recently begun forcing users to change their passwords every 60 days. When a user changes...
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...
0
by: bi89101 | last post by:
I'm trying to debug a C++ application on the local machine (not ASP.NET) which happens to be a domain controller. Administrators can debug, but domain users cannot. I have looked at the debugger...
6
by: Anders K. Olsen | last post by:
Hello group I'm trying to list the users and groups who has read access to a file. I use .NET 2.0 and FileInfo.GetAccessControl().GetAccessRules(...) and then loop through the...
2
by: J | last post by:
Hello. I apologize if this isn't the appropriate group for this question but I was wondering if it's possible to allow regular windows domain users to change their passwords through an .asp page? ...
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...
5
by: Michael Howes | last post by:
I'm writing a utility to manage a machines *local* accounts in c# I am getting all the users in a specific Group just fine but when I want to get some of the information on each user from their...
1
by: DGettins | last post by:
Hi, I'm posting this here as this concerns an ASP classic page, and I'm hoping to solve it at the application level. Scenario below. Two servers, 1. SQL server inside our domain. Also has IIS...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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.