Create new windows user

Hi,

I need to check if a windows user already exists in the local machine, and create it if it doesn't exist.  When I create the user I would like to assign it to a specific group.  How can I do this?

Thanks,

danny
dannyguindiAsked:
Who is Participating?
 
FajardoConnect With a Mentor Commented:
Hi

use netapi32.dll, check this link

http://www.delphi-si.com/clanki/clanek.php?id=3

Regards.

0
 
dannyguindiAuthor Commented:
Thanks for the help.
0
All Courses

From novice to tech pro — start learning today.