ADSystemInfo

S

Senad Isanovic

Trying to find some info about how to displat all users (members) of a
certain AD group.. Found the code below that gets info about the user that
is logged on the machine but need some help about how to display all users.
(their username, firstname, lastname, title, phone and email) Thanks!

Dim oGroup As Object
Dim oAdSys As Object
Set oAdSys = CreateObject("ADSystemInfo")
Set oUser = GetObject("LDAP://" & oAdSys.username)
bInitialized = True
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top