Welcome Guest, you are in: Login

Umbraco v5 Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Overview

The UmbracoMembershipProvider stores membership information inside of Hive based on the Uri:

security://member-data

Which by default uses the NH Hive provider.

Configuration

This membership provider will accept the normal ASP.Net MembershipProvider configuration attributes. It however has an additional attribute that needs to be declared:

virtualRoot="00000000-0000-0000-0000-000000000000"

Where you need to define a static Id for an entity that will be created as the root node for all member-data for the defined provider.

Example

The BackOfficeMembershipProvider defined in the web.config is:

<add name="BackOfficeMembershipProvider" type="Umbraco.Cms.Web.Security.UmbracoMembershipProvider" virtualRoot="10000000-0000-0000-0000-000000000111" passwordFormat="Clear" minRequiredNonAlphanumericCharacters="0" minRequiredPasswordLength="4"/>

This indicates that all membership data that is created for back office Users will be stored underneath a root node with an id: 10000000-0000-0000-0000-000000000111



ScrewTurn Wiki version 3.0.4.560. Some of the icons created by FamFamFam.