none
seperate login for users with membership

    Question

  • I need a consultation in my tsk ,

    I am a sharepoint developer and so far what I have developed is webparts and some features , I have been requested to develop a personalized site for members who are not in Active directory and display a dashboard with latest information that are useful for each member.

    users need to create an account then use it to log in to their profile information and services.

    what I need to know is how I am going to implement it? can I use web part and passing user id in each page which is not the best solution I think.

    please note that account information will be stored in database and I am going to use WCF to check the user existence after log in so I am not handling users management at my side (Share point) , because other developers are using the same information in other .net systems .

    and what I mean by creating account is just a request for new account and not really creating it in sharepoint.

    please provide me with some useful links that may help .

    thank you

    Sunday, December 08, 2013 6:18 AM

Answers

  • Why not just implement a SQLmembership provider in SharePoint?  Then users can create an account that will be stored in a SQL database that can be used directly in SharePoint.  At that point you can use all the same personalization capabilities that are already in SharePoint.  There is no need to write a custom WCF or custom web parts to accomplish what you want.  The one thing you will need to write is a page to leverage the ASP.NET UserRegistration Wizard control to let users create an account.  The one challenge doing this is that you will need to do some customization to get the SQL membership provider since the SharePoint SQL membership provider doesn't implement that method.

    http://sharepointsolutions.blogspot.com/2012/08/configuring-forms-based-authentication.html


    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.


    Sunday, December 08, 2013 12:49 PM
  • Hi,

    First of all, I'm not sure if you want to use an existing web application or create a new one.  Let's consider you have created a new web application. Then create a custom membership provider that will use the WCF service or check the user login/registration details from database or by other means. Finally use the membership provider in the SharePoint web applicaiton. Now user login/registration can be manged from teh membership provider, you just need to develop webpart for user managements (registration, password reset etc.).


    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

    Monday, December 09, 2013 2:27 AM

All replies

  • Why not just implement a SQLmembership provider in SharePoint?  Then users can create an account that will be stored in a SQL database that can be used directly in SharePoint.  At that point you can use all the same personalization capabilities that are already in SharePoint.  There is no need to write a custom WCF or custom web parts to accomplish what you want.  The one thing you will need to write is a page to leverage the ASP.NET UserRegistration Wizard control to let users create an account.  The one challenge doing this is that you will need to do some customization to get the SQL membership provider since the SharePoint SQL membership provider doesn't implement that method.

    http://sharepointsolutions.blogspot.com/2012/08/configuring-forms-based-authentication.html


    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.


    Sunday, December 08, 2013 12:49 PM
  • Hi,

    First of all, I'm not sure if you want to use an existing web application or create a new one.  Let's consider you have created a new web application. Then create a custom membership provider that will use the WCF service or check the user login/registration details from database or by other means. Finally use the membership provider in the SharePoint web applicaiton. Now user login/registration can be manged from teh membership provider, you just need to develop webpart for user managements (registration, password reset etc.).


    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

    Monday, December 09, 2013 2:27 AM