You can simply inhert Membership class and can write your custom BLL class call to validate employee logins. See below example for an idea about how it will work.
Public
Class LiveMembershipProvider
Inherits MembershipProvider
Public
AccountEmployeeBLL As AccountEmployeeBLL
Public Overrides Function ValidateUser(ByVal username As String, ByVal password As String) As Boolean
Return Me.AccountEmployeeBLL.ValidateLogin(username, password)
End Function
LiveTecs
Member
566 Points
116 Posts
Re: Custom Membership Provider - Implementation Question
Apr 28, 2009 08:37 PM|LINK
You can simply inhert Membership class and can write your custom BLL class call to validate employee logins. See below example for an idea about how it will work.
Public Class LiveMembershipProviderInherits MembershipProvider
Public
AccountEmployeeBLL As AccountEmployeeBLLPublic Overrides Function ValidateUser(ByVal username As String, ByVal password As String) As Boolean
Return Me.AccountEmployeeBLL.ValidateLogin(username, password)
End Function
Bug Tracking
Web Timesheet
Time Tracking Software