In jscript I can do something like below and get at the properties and their values associated with that user.
Set objSysInfo = CreateObject("ADSystemInfo")
strUserName = objSysInfor.UserName
Set objUser = Getobject ("LDAP://" & strUserName)
To do this in C#...what I've got working is fine...but I couldn't find something equivalent to the "CreateObject...." other than to reference the ActiveDs typlib to retrieve the AD username..which seems like a bit of hack...is there a way to do this without
the ActiveDs typelib?