Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing user object properties in AD.

Status
Not open for further replies.

Spitty241

IS-IT--Management
Jan 28, 2002
5
0
0
US
Does anyone know how to define which DC you use to bind to a user object and retieve user properties.. For Example.

Set usrAdObject = GetObject("LDAP://CN=USER,DC=WORK,DC=COM")

When I do this and access properties like usrAdObject.LastLogin, I do not recieve the most up to date value. I want to connect to each DC and then compare the values for the most recent. Thanks for the help.
 
If not possible with LDAP (I havn't found a way)... Do you know how to do this with the WinNT Provider, even with users organized into OUs. Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top