I am trying to write a macro that will automatically create a signature for the end of a letter in MS Word (when I press the relavent button).
I want to query the current logged on user and with this username query my active directory for the following info:
Organization Title and Department.
I Need to know:
How to query current logged on user
How to bind to AD
How to query the AD
Believe I need to be using ADSI, but the MSDN site is about 4000 miles over my head.
Thanks in advance.