1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Custom MembershipProvider

Custom MembershipProvider

2 posts, 0 answered
  1. Stephen
    Stephen avatar
    5 posts
    Registered:
    23 Jun 2010
    10 Mar 2011
    Link to this post
    Hi all, 

    I am trying to write a custom provider to perform a login.  Simply, I will be accessing Active Directory for the authentication, and then looking at a custom table to look up the roles.  (I'll likely need to create a customer Role Provider as well).  
    Once the person is authenticated, and based on their role, I will be directing them to enter a key fob number (if their role dictates it or not)

    Please would you direct me to resources that will explain the best practices for accomplishing this?  I will basically be starting from scratch.

    Much appreciated!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Mar 2011
    Link to this post
    Hello Stephen,

    Sitefinity has built in LDAP membership provider

    Telerik.Sitefinity.Security.Ldap.LdapMembershipProvider. If you want you can override ValidateUser and inside this method you can perform the checks and redirect the user to desired destination

    Best wishes,
    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered