asp.net custom Authentication
Posted on 2013-02-02
Hi I have build a class to create a user, block user and so on. That all works well. The reason i went down this route is we have over 10,000 customers and want to email them all with generated passwords. So we will set up all existing customers for our new site.
How do I set the user as Authenticated = true and username.
I was using the asp.net way and all was working well untill I wanted generate users on our internal system.
So all I really want to do is set the username, userid, role and then mark the user as Authenticated when my class returns that the login in was a match.
This way i can use the code asp uses to log them out but can do what I need.
Hope this makes sense.