I am looking for a plugin or DLL or ActiveX that I can use within Xojo to be able to manipulate and query the Windows Server users / groups etc. Does anyone know of anything that would allow me to do this type of stuff? I need to be able to provide a simple interface for HR staff to be able to have a simple wizard to add new users, have them placed in specific groups (subject to selections within the software), expire users, etc. Obviously all of this will be subject to them having permission to be able to do so on the server itself.
I think Netapi32.dll may have what you’re looking for. It has functions like
NetGroupAddUser which sound a lot like what you want.