Access VBA Modules from forms, that show how to retrieve domain-related information. These are provided as examples, since you will need to decouple the code from the underlying tables and related forms to use them.

Click the download button for ActiveDirectorySamples.zip... Download Code