Click here to Skip to main content
16,018,949 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have three types of Registrations

1.Doctor Registration
2.Patient Registration
3.Agent Registration

Now the admin has to approve & enable the Doctor & Agent registrations...

After approval of Admin only the the user can login into his profiles
Posted
Comments
JR009 15-Jul-15 4:28am    
Hi,
You can achieve this from database side. In your database User table you can set a column like 'IsApproved' bit type column. When new user get registered, by default set this column value False(0) for that user and then populate notification to admin that new user registered and if admin approve the user then 'IsApproved' column become True(1). Now on login check if user is approved if true then gets login else not.
Member 10978775 15-Jul-15 5:01am    
can u please give any example? I'm new to asp.net...
JR009 15-Jul-15 5:41am    
What you have done so far for this??
Suvendu Shekhar Giri 15-Jul-15 4:29am    
..and for these to happen, what have you written?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900