How do I get a list of domain user accounts with win32 api?
如何获取win32 api的域用户帐户列表?
In particular, I can't get this list when the computer is not the domain controller. Instead it is a member of the domain.
特别是,当计算机不是域控制器时,我无法获取此列表。相反,它是域的成员。
2 个解决方案
#1
2
Look into the LDAP API. This will let you query the LDAP server which will have a list of the user accounts.
查看LDAP API。这将允许您查询将具有用户帐户列表的LDAP服务器。
#2
2
Just use netw apis.
只需使用netw apis。
#1
2
Look into the LDAP API. This will let you query the LDAP server which will have a list of the user accounts.
查看LDAP API。这将允许您查询将具有用户帐户列表的LDAP服务器。
#2
2
Just use netw apis.
只需使用netw apis。