Hi Everyone,I need little assistance for some of you gurus out there.I have Active Directory code which I am attaching that retrives user sAMAccountName if username (John Smith) is provided.Now, I need modifiied the code accordingly where based on current user login on the teamsite (Assume its Brad Jackson). It would obtain username automatically and than display it in the field for DCT.Any assistance would be greatly appreciated.
For name to be displayed in the dct you need to use inline callout (.ipl file) or callserver (cgi script).under both these functionality you can call a external script from your dct, for more information on how to use inline or callserver, you can refer to teamsite developer guide.
I am using this as ipl callout and querying Active directory. Currently, if you noticed I have enter John Smith as CN=user name. Assume bjackson is login in team site. I would like to capture his full name (Brad Jackson) in the field using query active directory. How would one do that? I am reattaching the code again for reference.Enivornment - TS 6.5 Win2003 SP1