Create a local windows user account
Hi people :),
This should be really easy to find on the MSDN and on here but I can't find a reference to it. I want to programatically create a local user account on a machine so the user can log on as that user next time they log in, but I can't find the unmanaged C++ API call to do this. I obviously will have admin rights when running my application so security should not be a problem.
Can anyone give me a push in the right direction please.
Cheers,
Delboy
Re: Create a local windows user account
Have a look at NetUserAdd API and some other Network Management Functions and User Functions in MSDN.
Re: Create a local windows user account
Re: Create a local windows user account
Fantastic!!! thanx guys :)