CreateUserWizard automatically login newly created users

34 Views Asked by At

I am using CreateUserWizard control in my asp.net application. I want to create an anonymous user in sql server database. I want to see IsAnonymous column's value true, but what happens is as soon as I click the button "create user", immediately the newly created user log's in into the system and it's IsAnonymous column becomes false. I have used the property LoginCreatedUser = false, but it does not work. still the new user automatically logs in. What should I do, so that CreateUserWizard will create the Anonymous user and login control will make it authenticated.

I am first creating CreateUserWizard control in my aspx file, and when I click the "create user" button user logs in automatically, which is not my requirement. I am sorry if many of you will consider it as a duplicate question but honestly no answer solved my problem. thanks in advance.

0

There are 0 best solutions below