How to get local group object with VB6.0
Posted on 2003-11-18
I have two computers "ComputerA" and "CompuerB" in the same Windows 2003 server domain. Either of them is not the domain controller but they are the equal member servers.
In ComputerA, I need to run a VB6.0 program to access ComputerB's "Computer Management -> Local Users and Groups -> Groups -> Remote Desktop Users" group: to get the ComputerB's group object then add a Domain User account into that group.
e.g. my purpose is to add "domain\user1" into "ComputerB\RemoteDesktopUserGroup". While I have to run the VB6.0 program in ComputerA.
Anyone might know how to program this with VB6.0 code? Thank you very much!