Main Page Sitemap

Most viewed

My Schedule 1.71 Crack plus License Key
MIME Types List. I have compiled a full list of MIME types using the mime. types file of the Apache HTTPD virtual private server. I took the liberty of adding a name. MIME Types List - Free Online Tools For Developers Gui Prototyping Tools...
Read more
Outlook Import Multiple VCF Files Software 7.0 with activation
New Hero Teased For Overwatch: Efi Oladele May Be A Super Villain Oh ... I have an idea ... By James_Kozanitis 2017-02-21 12:00:00 Valve Confirms New Steam Client Beta 'Probably' Coming This Summer Early concept stuff. By James_Kozanitis 2017-02-21 11:00:00 Nier: Automata PC Version...
Read more
4U YouTube Video Downloader 2.2.3 Serial key with patch
Sony So-netのユーザーIDでご利用いただける 医療関係者向けサービス 医療関係者向け単体サービス 医薬サーチ 医薬文献/学会演題、添付文書、臨床試験情報を網羅する、国内外の医薬品情報データベース。 医中誌パーソナルWeb 日本の医学論文・文献検索の決定版。原著文献のオーダーもできます。 医中誌パーソナルWeb DDS 原著文献のコピーを、インターネット上で簡単にオーダーすることができるサービス 今日の診療 プレミアム 医学書院のベストセラー13冊がWEBでご利用いただけます 今日の診療 ベーシック 医療従事者のための国内標準リファレンスがWEBでご利用いただけます! 治療薬マニュアル 医療関係者の為の"くすり"のデータベース。 最新医学大辞典 医学生から臨床医まで使える、定番の解説付医学大辞典(和英/英和対応) 医療関係者向けパッケージサービス メディカルパックA 日本の代表的な医学系専門情報をパッケージ化 医療専門サイト 日本の医師3人に1人が使う 医療専門サイトm3.com 診療Webツール/医師推薦サイト集/新着文献通知/医師向けサイト検索/MR君等 疫学調査・治験募集 疫学研究J-MICC STUDY (日本多施設共同コーホート研究) 公式サイト 10万人の方々の生活習慣、遺伝子型、血液成分の組み合わせと病気の関係を調べ、がんやその他の生活習慣病の原因と予防対策を研究しています。 旬の健康ニュースや話題の病気、生活習慣病、メンタルヘルスなどの医療・健康情報や、さまざまな病気・症状などを詳しく解説した、医学百科のベストセ... ※当「健康・医療ポータル」ページに掲載されているリンクは各サービスをご提供していただいている外部のサイトへ遷移いたします。 (各サービスはすべてSo-netユーザーIDでご利用いただけます) ページの先頭 会社情報個人情報保護/情報セキュリティご利用について 安全・安心マークプライバシーマークISO 27001:2013 © Sony Network...
Read more

Forms Designer for SharePoint 2010 2.0 Setup


EasiestSoft Video Converter 1.1.9 and Activator

Configuring Forms Based Authentication in SharePoint 2013 – Part 2 – Adding users to the Membership Database

By Chris Coulson on January 2nd, 2013

Configuring forms based authentication (FBA) in SharePoint 2013 is very similar to SharePoint 2010, but there are some differences due to SharePoint 2013 using .Net 4.0. The web.config entries entries are slightly different. As well, IIS doesn’t support editing .Net 4.0 membership provider configuration through the IIS interface, so all of the configuration has to be done directly in the .config files. I’ll go through all of the steps required to setup FBA for SharePoint 2013, from start to finish.  I’ve broken down the steps into 4 sections, so if you already have an existing membership database setup from a previous version of SharePoint, feel free to skip forward to Part 3.

Part 1 – Creating the Membership Database

Part 2 – Adding Users to the Membership Database

Part 3 – Editing the Web.Config Files

Part 4 –  Configuring SharePoint

Part 2 – Adding Users to the Membership Database

Now that we’ve created an empty membership database, we need to add some users to it that can be used to login.  You have a couple of options for doing this.  If you’d like to do all of your user management in SharePoint, then you can install the SharePoint 2013 FBA Pack and skip to Part 3. If you’d like to be able to manage the users outside of SharePoint, and setup some inital users, then continue on to learn how to manage the FBA users with IIS.

To manage users in IIS, we’re going to create a dummy site just for managing users.  In SharePoint 2010 and earlier it was possible to edit the users directly from a SharePoint web application site, as long as the default membership provider was set to the membership provider you were going to edit. This is no longer possible, as previous versions of SharePoint ran against ASP.NET 2.0 (3.5), but SharePoint 2013 runs on ASP.NET 4.0.  IIS does not support editing users and roles for ASP.NET 4.0 applications. To get around this, we’ll create a dummy/blank ASP.NET 2.0 web site just for editing users. The asp.net 2.0 and 4.0 membership databases are exactly the same, which makes this possible.

NOTE: These directions were created on Windows 2008 R2.  On Windows 2012 they have reversed things and the .Net Users and .Net Roles options are only available for .Net 4.0 and are not available for .Net 2.0 – So on Windows 2012 please use .Net 4.0 where 2.0 is mentioned in the directions.

  • Open IIS.
  • Right click on Sites and select “Add Web Site…”sharepoint_2013_fba_edit_users_1
  • A configuration dialog will appear. Just give it a meaningful name, point it to an empty folder and give it a random unused port number and click OK.sharepoint_2013_fba_edit_users_2
  • Click on “Application Pools”. An application pool of the same name should have been created. The .Net Framework for that application pool should show as “2.0”.  If it doesn’t, you’ll need to modify it’s settings and change it to “2.0”.sharepoint_2013_fba_edit_users_3
  • You’ll also have to set the identity the account runs as to the same as SharePoint, so that it will have permissions to read and write to the membership database. Select the application pool and click “Advanced Settings…” in the right panel. In the dialog that comes up, click on the Identity to change it. Choose “Custom account” and enter the SharePoint service account username and password. Click OK on all of the open dialogs to close them.sharepoint_2013_fba_edit_users_4
  • The identity should now match the identity used for the SharePoint application pools.sharepoint_2013_fba_edit_users_5
  • We’re now going to create a database connection to the membership database. Select your new site and open the “Connection Strings” page from the Features view.sharepoint_2013_fba_edit_users_6
  • From the Connection Strings page, click “Add…” on the right side panel. On the Add Connection String dialog that appears, give it a name (I used “FBADB”), enter your server name and enter “aspnetdb” for your database name. Select “Use Windows Integrated Security” and click OK. We’ve now created the database connection.sharepoint_2013_fba_edit_users_7
  • We’re now going to create the membership provider, that will let us edit users in the membership database. From the site Features view, click “Providers”. (If “Providers”, “.Net Users” and “.Net Roles” is missing from the features view, then the associated application pool is configured for .Net 4.0. Go back and configure it for .Net 2.0).sharepoint_2013_fba_edit_users_8
  • From the Providers page, select “.Net Users” under Feature. Click “Add…” in the right side panel. In the dialog that appears, chose “SQLMembershipProvider” for type. Give it a name. For this example I used FBAMembershipProvider_2_0.  I added the _2_0 so as not to confuse it with the “FBAMembershipProvider” entry we will be creating when we set it up for SharePoint. Select the different options you want associated with your membership provider.  I have some more detail on the options available in the next section when we setup the membership provider for SharePoint. One thing I must stress though is that the options you pick here MUST match the options you use when you setup the membership provider for SharePoint. If they don’t, the users you create here will not work properly.For options, I chose:
    Option Value
    EnablePasswordReset True
    EnablePasswordRetrieval False
    RequiresQuestionAndAnswer False
    RequiresUniqueEmail True
    StorePasswordInSecureFormat True
    ConnectionStringName FBADB (This must match the database connection we setup earlier)
    ApplicationName /

    Click OK to close the dialog and create the membership provider.

    sharepoint_2013_fba_edit_users_9

  • We’re now going to add users to the membership database. Click “.Net Users” from the Features view.sharepoint_2013_fba_edit_users_11
  • The first thing we have to do before we can create users is configure the default membership provider. Click “Set Default Provider…” in the right side panel.  When the dialog appears, choose the membership provider we just created and click OK.sharepoint_2013_fba_edit_users_12
  • Now that the default membership provider is selected, we’re presented with an empty .Net Users page, as there are not yet any users in the database. Click “Add…” in the right side panel to add a user.sharepoint_2013_fba_edit_users_13
  • From the “Add .Net User” dialog, give the user a name, email and password. In this example i’m creating an admin user that i’m going to use as the SharePoint Site Collection administrator.The password needs to be at least 7 characters long and must contain at least 1 non-alphanumeric character. Since we set RequiresQuestionAndAnswer to false when configuring the membership provider, the Question and Answer fields can be left blank.Click OK to create the user and close the dialog.sharepoint_2013_fba_edit_users_14
  • Now the .Net Users page lists the one user you have created. You can use this page to add and edit users in the future.sharepoint_2013_fba_edit_users_15
  • If you are going to use Roles in SharePoint, you can create a Role provider from the Providers page, and then use the .Net Roles page to add roles – very similar to how we added the membership provider and added users.sharepoint_2013_fba_edit_users_10

Now that we’ve added a user to our membership database, you can continue on to Part 3 to learn how to configure the membership provider for SharePoint.

Categorized under: Configuration, Forms Based Authentication, Sharepoint.
Tagged with: .Net, ASP.Net, aspnetdb, central admin, FBA, Forms Based Authentication, IIS, machine.config, Membership, membership provider, SharePoint 2013, SharePoint 2013 FBA Pack, sqlmembershipprovider, web.config.

Leave a Response

Trackbacks


531
Sitemap