-
May 8th, 2007, 04:51 AM
#1
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
-
May 8th, 2007, 05:21 AM
#2
Re: Create a local windows user account
Have a look at NetUserAdd API and some other Network Management Functions and User Functions in MSDN.
-
May 8th, 2007, 05:21 AM
#3
Re: Create a local windows user account
-
May 8th, 2007, 05:35 AM
#4
Re: Create a local windows user account
Fantastic!!! thanx guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|