Customizing the Web Part Layout
Localizing the SharePoint 2010 FBA Pack
Installing and Configuring the SharePoint 2010 FBA Pack
Configure SharePoint 2010 to use Forms Based Authentication
Before you can use the SharePoint 2010 FBA Pack, SharePoint must be configured to use Forms Based Authentication:
Install the SharePoint 2010 FBA Pack
- Download and unzip Sharepoint2010FBAPack.zip to the SharePoint server.
- Open PowerShell and navigate to the folder the files were unzipped to.
- Run the following command:
.\deploy [Site Collection URL]
e.g. .\deploy http://demo2010a:13824/
- The FBA Pack will be deployed to SharePoint and activated on the specified site collection. If the site collection url is omitted, you will need to manually activate the 'Forms Based Authentication Management' feature in each site collection you wish
to use it.
- To uninstall run:
.\undeploy [Site Collection URL]
Ensure that the SharePoint 2010 Administration service is running prior to running the deployment scripts, or the deployment will fail.
Depending on your PowerShell security settings, it may prevent you from running the deployment scripts because they are not signed. To change the setting to allow unsigned scripts to run, run the following command:
Configure the FBA Pack
The configuration and management pages can be opened from the Site Settings page:
Select ‘FBA Site Configuration’ to open the configuration page:
Enable Roles: Allows users to be assigned Membership Roles instead of SharePoint Groups on the User Management page.
Review Membership Requests: Specifies whether new users requests should be automatically granted, or reviewed by an administrator.
Membership Review Site URLs: URLs for pages that can be used in the email templates.
Membership Email XSLT: The location of the email templates to use.
Note that these items can only been seen and used by the site collection administrators.
Add the web parts to pages
There are three highly customizable web parts available: Membership Request,
Change Password and Password Recovery. They must be manually added to the page you’d like to use them on:
Changing your Password
A Change Password item has been added to the user menu that will bring the user to a Change Password page:
Reviewing Membership Requests
If “Review Membership Requests” was selected on the configuration page, new registered users will appear in the Membership Request Management page before being enabled on the site. Each user can be edited, and their status changed to either
Approved or Rejected. The user will be sent an email with the new status of their account request.
Users can be created, deleted and edited from the FBA User Management page:
Roles can be created and deleted from the FBA Roles Management page: