Re: How to add system users and groups by programming?
From: William DePalo [MVP VC++] (willd.no.spam_at_mvps.org)
Date: 03/25/05
- Next message: Ioannis Vranos: "Method calls in .NET multithreading"
- Previous message: Ioannis Vranos: "Re: IL & C++ & OBJ"
- In reply to: cyshao: "How to add system users and groups by programming?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Mar 2005 22:48:38 -0500
"cyshao" <adadad@263.net> wrote in message
news:u4xrbnOMFHA.4080@TK2MSFTNGP09.phx.gbl...
> How to add system users and groups by programming?
IMO, the simplest (and oldest way) to add a user is with NetUserAdd(). For
groups, check the docs for NetGroupAdd() and NetLoclGroupAdd().
You might also want to read up on ActiveDirectory
which is scriptable as well as programmable.
Regards,
Will
- Next message: Ioannis Vranos: "Method calls in .NET multithreading"
- Previous message: Ioannis Vranos: "Re: IL & C++ & OBJ"
- In reply to: cyshao: "How to add system users and groups by programming?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|