PDA

View Full Version : Can an SF7 installer create a new Windows user ?



roofrack
10-26-2006, 05:07 AM
Hi,

Does anyone know if SF7 has the ability to programmatically create a new Windows user ?

I have written an OPC Server in VB6. OPC is based on Windows DCOM, and DCOM security rules mandate that one has a user account which is the same on both client and server PCs. In most cases, users installing my software will need to have that user account created for them, and we want control over that process.

Alternatively, if SF7 cannot do it, is there a Windows API for managing users ?

Any help gratefully received.

Thanks.

bule
10-26-2006, 09:02 AM
You can add (or remove) user from the command line:


NET USER
[username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]

roofrack
10-26-2006, 11:22 AM
Many thanks for this - probably the way we shall go.