I am using the create user wizard in asp.net from the admin privileges. i.e only admin can create a user.
I am creating a new user with a role assigned to it.
As soon as the user is created , it is automatically logged in with always 'admin' as the role (first in the option of dropdownlist of role) inspite of whatever other role i select.
I do not want the newly created user to be logged in automatically.
How to do it.??
You should set LoginCreatedUser to false to disable auto-login.