Creating-deleting new user accounts on Windows 7 OS.(cpp)
I want to create and delete new users on my code.  I managed to create with "NetUser" class's "createUser()" fuctions but when i set the options as in the references to create a standart user, it still creating as a guest account. Is there anyone knows what is the reason of my problem? 
Creating-deleting new user accounts on Windows 7 OS.(cpp)
===

I want to create and delete new users on my code.  I managed to create with "NetUser" class's "createUser()" fuctions but when i set the options as in the references to create a standart user, it still creating as a guest account. Is there anyone knows what is the reason of my problem? 