Active Directory- how to get a list from AD into notes?

Presently we have two different login ids…one for Lotus Notes and one for Active Directory. 99% of the time they are the same but sometimes we encounter a difference due to a 8 character limit in AD. I would like to make a query to either get a list of employees from AD or do a name lookup to get the CN in Active directory. Ultimately I just want to get the login used in AD.

How can I do this in either LotusScript or @formula’s.

Our admin has been playing around with Directory assistance and LDAP but I do not know how to make a call to the AD listing using code?

Anyone… thanks

Subject: Active Directory- how to get a list from AD into notes?

I haven’t done this in a while but you might be able to use ADSI to perform these type sof queries against the local user/group accounts of a computer or an AD controller. It’s COM so you should be able to invoke the objects and related methods from script.