By default Membership provider has a static method ValidateUser
with parameter .Is there a way to add an overloading method to Membership provider for ValidateUser
with three parameter. There parameter is Boolean which will decided user is teacher or student in my case.
public static bool ValidateUser(string username, string password, bool blnTeacher);
I tried to add but Membership class is read-only in visual studio .
How can i can add ValidateUser
with three parameter.