How to get a list of domain user accounts using win32 api?

How to get a list of domain user accounts with win32 api?

In particular, I cannot get this list if the computer is not a domain controller. Instead, he is a member of the domain.

+3
source share
2 answers

Take a look at the LDAP API. This will allow you to query the LDAP server, which will have a list of user accounts.

+2
source

Just use the netw apis.

+2
source

Source: https://habr.com/ru/post/1698773/


All Articles