Custom Membership Table

sharepoint2010
codeplex

#1

 can we the store the  users in our own membership table other than aspnet_membership table. 


#2

You can.  Take a look at custom membership providers:

http://msdn.microsoft.com/en-us/library/f1kyba5e.aspx

Also, search CodePlex for "Membership Provider" for some pre-built ones.

Once you have your custom membership provider, it's just a matter of changing the web.config to point to it instead of the SqlMembershipProvider.


#3

Thanks ccoulson.


#4

Hi ccoulson,

Let’s say, I need to authenticate user with login name, password and secure code, means implement some code within custom membership provider right. Can we modify code within custom membership provider ?


#5

Yeah, that's the whole point of a custom membership provider.  You can modify one that's been posted on CodePlex, or write one from scratch.