hawk00

Greenhorn
+ Follow
since Jul 04, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by hawk00

Originally posted by Chris Jackson:
I have only used VBScript in ASP pages. Not had much experience with JScript. Thankyou for the post hijack though . AS for giving out heart attacks, i understand, but what better place to come to then where I feel most comfortable, with Java peeps. Notice how I tossed in that I am SCJP. Anyway. I have gotten further and was forced to buy a book on Windows 2000 Active Directory Programming last night. Thrown right into LDAP://
Have come up with some new code that works to a point.
UName = ""
Set WshNetwork = CreateObject("WScript.Network")

UName = WshNetwork.UserName
Set objUser = GetObject("LDAP://OURSERVERNAME/DC=com/DC=OURDC/CN=Users/CN=" & UName)
Response.write objUser.Get("displayname")
Set objUser =nothing
Getting this error when i try to get the display name of the person.
The Active Directory datatype cannot be converted to/from a native DS datatype.
So if anybody knows about LDAP or what step I am missing, thanks.

21 years ago