{"id":2065,"date":"2011-09-06T14:46:16","date_gmt":"2011-09-06T06:46:16","guid":{"rendered":"http:\/\/www.sharepointboost.com\/blog\/?p=2065"},"modified":"2023-07-31T11:40:27","modified_gmt":"2023-07-31T03:40:27","slug":"sharepoint-membership-form-authentication-configuration-guideline","status":"publish","type":"post","link":"https:\/\/www.boostsolutions.com\/blog\/sharepoint-membership-form-authentication-configuration-guideline\/","title":{"rendered":"SharePoint Membership Form Authentication Configuration Guideline"},"content":{"rendered":"<p><strong> SharePoint Membership Form Authentication Configuration Guideline<\/strong><\/p>\n<p><strong> <\/strong><\/p>\n<p><strong>Step 1 Create MemberShip DataBase:<\/strong><\/p>\n<p>Run the aspnet_regsql.exe tool and open the configuration wizard.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2071\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/1.jpg\" alt=\"\" width=\"669\" height=\"517\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/1.jpg 669w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/1-300x231.jpg 300w\" sizes=\"(max-width: 669px) 100vw, 669px\" \/><\/a><\/p>\n<p>Press the Next button.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/21.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2091\" title=\"2\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/21.jpg\" alt=\"\" width=\"668\" height=\"517\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/21.jpg 668w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/21-300x232.jpg 300w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>Select the database task mode and then press the Next button.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/3.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2073\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/3.jpg\" alt=\"\" width=\"666\" height=\"516\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/3.jpg 666w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/3-300x232.jpg 300w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/a><\/p>\n<p>The wizard tool will get the server name automatically, you can select the database name by yourself, in the guideline we select the database name as LandpyMembershipDB and then press Next button.<\/p>\n<p><!--more--><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/4.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2074\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/4.jpg\" alt=\"\" width=\"670\" height=\"518\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/4.jpg 670w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/4-300x231.jpg 300w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<p>Now the configuration is finished, you can get the summary of the settings, press the Next button.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/5.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2075\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/5.jpg\" alt=\"\" width=\"668\" height=\"519\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/5.jpg 668w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/5-300x233.jpg 300w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>Press the Finish button. The database of Membership is ready now.<\/p>\n<p><strong>Step 2 Create a FBA site:<\/strong><\/p>\n<p>Create a Web Application with Claims Based Authentication.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/6.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2076\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/6.jpg\" alt=\"\" width=\"668\" height=\"151\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/6.jpg 668w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/6-300x67.jpg 300w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>Select Claims Based Authentication radiobutton.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/7.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2077\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/7.jpg\" alt=\"\" width=\"499\" height=\"162\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/7.jpg 499w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/7-300x97.jpg 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/a><\/p>\n<p>Fill the blank of the ASP.NET Membership provider name and the ASP.NET Role manager name(Note: the name must be same as the membership section of the web.config file)<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/8.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2078\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/8.jpg\" alt=\"\" width=\"668\" height=\"492\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/8.jpg 668w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/8-300x220.jpg 300w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>The above is screenshot is the sign in UI of the SharePoint site. At present you can&#8217;t use Forms Authentication because you should set web.config at first.<\/p>\n<p><strong>Step 3 Configure the Membership with IIS7.5:<\/strong><\/p>\n<p>IIS7.5 is so powerful that you can setting the web.config file in UI.<\/p>\n<p>Input inetmgr command in running dialog to open IIS7.5 manager.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/9.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2079\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/9.jpg\" alt=\"\" width=\"121\" height=\"101\" \/><\/a><\/p>\n<p>First, add the Sql connection string, double click the above icon.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/10.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2080\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/10.jpg\" alt=\"\" width=\"586\" height=\"479\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/10.jpg 586w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/10-300x245.jpg 300w\" sizes=\"(max-width: 586px) 100vw, 586px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Click the Add button and open the above dialog, and then input the blank of the dialog. Click OK to save the connection string.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/11.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2081\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/11.jpg\" alt=\"\" width=\"779\" height=\"146\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/11.jpg 779w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/11-300x56.jpg 300w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/a><\/p>\n<p>The connection strings screenshot.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/12.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2082\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/12.jpg\" alt=\"\" width=\"336\" height=\"97\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/12.jpg 336w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/12-300x86.jpg 300w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><\/a><\/p>\n<p>We should add the Provider in CA, Form Authentication Site and SecurityTokenServiceApplication WebService.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/13.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2083\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/13.jpg\" alt=\"\" width=\"126\" height=\"105\" \/><\/a><\/p>\n<p>Double click the Providers icon.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/14.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2084\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/14.jpg\" alt=\"\" width=\"600\" height=\"555\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/14.jpg 600w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/14-300x277.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Open Add Provider dialog and fill the blank to add the SqlRoleProvider.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/15.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2085\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/15.jpg\" alt=\"\" width=\"601\" height=\"548\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/15.jpg 601w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/15-300x273.jpg 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/a><\/p>\n<p>Open Add Provider dialog and fill the blank to add the SqlMembershipProvider.<\/p>\n<p>When the Provider is ready you can use Form Authentication.<\/p>\n<p>Note:ConnectionStringName can&#8217;t be modified directly, you should select a value and then modify it at Misc-&gt; Provider Specific Settings.<\/p>\n<p><strong>Step 4 Add MemberShip Role and User:<\/strong><\/p>\n<p>We suggest you to add an alone site to manage the MemberShip users and roles. The MemberShip Provider should be configured the same as above steps.<\/p>\n<p>Set the provider which we configured as the default provider.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/16.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2086\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/16.jpg\" alt=\"\" width=\"124\" height=\"118\" \/><\/a><\/p>\n<p>Double click the .NET Roles icon.<\/p>\n<p>Add .NET Role dialog is as following:<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/17.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2087\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/17.jpg\" alt=\"\" width=\"430\" height=\"194\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/17.jpg 430w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/17-300x135.jpg 300w\" sizes=\"(max-width: 430px) 100vw, 430px\" \/><\/a><\/p>\n<p>Click the OK button to save the MemberShip Role.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/18.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2088\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/18.jpg\" alt=\"\" width=\"92\" height=\"93\" \/><\/a><\/p>\n<p>Double click the .NET Users icon.<\/p>\n<p>Add .NET User dialog is as following:<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/19.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2089\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/19.jpg\" alt=\"\" width=\"778\" height=\"595\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/19.jpg 778w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/19-300x229.jpg 300w\" sizes=\"(max-width: 778px) 100vw, 778px\" \/><\/a><\/p>\n<p>Fill the blank of the dialog and then click the Next button.<\/p>\n<p>You can add the new MemberShip user to the role(s).<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/20.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2090\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/09\/20.jpg\" alt=\"\" width=\"777\" height=\"595\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/20.jpg 777w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/09\/20-300x229.jpg 300w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/a><\/p>\n<p>Click the Finish button to save the MemberShip user information.<\/p>\n<p><strong>Step 5 Everything is ready:<\/strong><\/p>\n<p>Everything is ready, you can add new MemberShip user to the SharePoint site now. Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SharePoint Membership Form Authentication Configuration Guideline Step 1 Create MemberShip DataBase: Run the aspnet_regsql.exe tool and open the configuration wizard. Press the Next button. Select the database task mode and then press the Next button. The wizard tool will get the server name automatically, you can select the database name by yourself, in the guideline [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[125],"tags":[486,224],"_links":{"self":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2065"}],"collection":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=2065"}],"version-history":[{"count":13,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2065\/revisions"}],"predecessor-version":[{"id":2103,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2065\/revisions\/2103"}],"wp:attachment":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}