Tech Tips

Sometimes you need to add or update Windows user information from your MultiValue application.  There are some simple command line tools that are provided with Windows that allow you to do this.  Shell these command with an "sh", or "!" depending on your database, and you can create and modify Windows user information.

Add User:

EXECUTE \sh net user [username] [password] /add\

Update a Password:

EXECUTE \sh net user [username] [password]\

Add to User Group:

EXECUTE \sh net localgroup [Group Name] [username] /add\

Remove from User Group:

EXECUTE \sh net localgroup [Group Name] [username] /delete\

Please note, that there are other switches that can be used with these commands.  You can find out more at: