how to active or deactive users on registration

Posted by Parthibansk under ASP.NET on 10/15/2014 | Points: 10 | Views : 420 | Status : [Member] | Replies : 2
I got a scenario for registered users to be granted or denied access for login based on approval of admin..

in registration form i kept username & password fields and active coulmn.. if user registers active column is set to 0 inactive by default, based on admins approval[ changing active column of registered user to active , user are approved to access[login]

how to code for the above.




Responses

Posted by: Bandi on: 10/15/2014 [Member] [MVP] Platinum | Points: 25

Up
0
Down

Posted by: Parthibansk on: 10/15/2014 [Member] Starter | Points: 25

Up
0
Down
can we do this without using membership.

Parthibansk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response