Learn how to a build a cloud-first strategyRegister Now


Is there a way to display our AD user information on a webpage

Posted on 2006-05-17
Medium Priority
Last Modified: 2010-05-18
I would like to setup an employee directory webpage that is tied to our Active Directory information. Something that would self update so we would have to manually make changes.

Any ideas would be greatly appreciated.
Question by:bonadio171
LVL 12

Accepted Solution

Mazaraat earned 500 total points
ID: 16702714
You can do this using ASP and vbscript.  something like this would get you started in the right direction:

<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Dim Conn, strRS, RS, strConn
Set Conn = Server.CreateObject("ADODB.Connection")
Set RS = Server.CreateObject("ADODB.Recordset")
Conn.Provider = "ADsDSOObject"
strConn = "Active Directory Provider"
Conn.Open strConn
strRS = "SELECT givenname FROM 'LDAP://DOMAIN_NAME' WHERE objectClass = 'user' ORDER by name "
RS.Open strRS, Conn,1,1

While RS.EOF = False
'f ("givenname"!=NULL)
Response.Write "Name:" &RS("givenname")& "<br>"
'end if


Assisted Solution

Sourcing earned 500 total points
ID: 16703894
Have you thought of AD Directory Services

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question