Products / SharePoint FBA Pack

Installing and configuring the FBA Pack

Everything you need to get the FBA Pack up and running on your SharePoint farm.

1. Configure SharePoint for forms-based authentication

Before you can use the FBA Pack, SharePoint must be configured to use forms-based authentication:

2. Install (or upgrade) the FBA Pack

  1. Download and unzip SharePoint201XFBAPack.X.X.X.zip on the SharePoint server.

  2. Open PowerShell and go to the folder you unzipped the files into.

  3. Run:

    .\deploy [Site Collection URL]
    

    For example:

    .\deploy http://demo2010a:13824/
    

The FBA Pack is deployed to SharePoint and activated on the site collection you specified. If you leave out the site collection URL, you'll need to activate the Forms Based Authentication Management feature yourself in each site collection where you want to use it.

To uninstall, run:

.\undeploy [Site Collection URL]

Before you deploy: make sure the SharePoint Administration service is running, or the deployment will fail.

Depending on your PowerShell security settings, the deployment scripts may be blocked because they aren't signed. To allow unsigned scripts to run, use:

Set-ExecutionPolicy Unrestricted

3. Configure the FBA Pack

The configuration and management pages are opened from Site Settings:

The FBA links in Site Settings
The FBA links in Site Settings

Select FBA Site Configuration to open the configuration page:

FBA Site Configuration
FBA Site Configuration
Enable Roles
Lets you assign users to membership roles, rather than SharePoint groups, on the User Management page.
Review Membership Requests
Sets whether new user requests are approved automatically or reviewed by an administrator first.
Membership Review Site URLs
Page URLs that can be used in the email templates.
Membership Email
The XSLT email templates to use.

Only site collection administrators can see and use these settings.

4. Add the web parts to your pages

There are three highly customizable web parts: Membership Request, Change Password and Password Recovery. You add each one yourself to the page where you want it to appear:

Adding an FBA web part to a page
Adding an FBA web part to a page
Change Password
Change Password
Membership Request
Membership Request
Password Recovery
Password Recovery

To change how the web parts look, see Customizing the web part layout.

Changing your password

A Change Password item is added to the user menu. It takes users to a Change Password page:

Change Password menu item and page
Change Password menu item and page

Reviewing membership requests

If Review Membership Requests is turned on, newly registered users appear on the Membership Request Management page and can't use the site until they're approved. You can edit each request and set its status to Approved or Rejected. The user is then emailed the new status of their account request.

Membership request list
Membership request list
Approving or rejecting a request
Approving or rejecting a request

Managing users

On the FBA User Management page you can create, edit and delete users and reset their passwords:

User list
User list
New user
New user
Edit user
Edit user
Reset password
Reset password
Delete user
Delete user

Managing roles

On the FBA Role Management page you can create and delete roles:

Role list
Role list
New role
New role
Delete role
Delete role