Add the following element to the system.web » roleManager » providers section of the web.config file:
<add name="salesforceLead" type="FuseIT.Sitecore.SalesforceSecurityProvider.SalesforceLeadRoleProvider, FuseIT.Sitecore.SalesforceSecurityProvider" roleFieldName="Sitecore_Multi__c" connectionStringName="S4SConnString" readOnly="false"/>
The attributes of this element have been described earlier and have the same meaning for the role provider. The following describes the elements of S4S Multi-Role:
Attribute | Optional | Default | Salesforce field | Description |
roleFieldName | no | n/a | Salesforce Lead Field names to expose as roles in Sitecore. Can be Checkbox, MultiPicklist, or Picklist data types. For checkbox fields, the Salesforce Field label will be the role name. Picklist and Multipicklist will have roles corresponding to the Salesforce Picklist values. If the organization has a namespace prefix it will need to be included at the start of the field names. Multiple fields can be used by using the "|" separator. |
Next Step
Configuring the Profile Provider for Leads (Pre-Sitecore 9)
Steps
- Adding a Salesforce Domain for Leads (Pre-Sitecore 9)
- Configuring ASP.NET Security Providers for Leads (Pre-Sitecore 9)
- Configuring the Switching Providers for Leads (Pre-Sitecore 9)
- Configuring the Membership Provider for Leads (Pre-Sitecore 9)
- Configuring the Role Provider for Leads (Pre-Sitecore 9)
- Configuring the Profile Provider for Leads (Pre-Sitecore 9)
- Extending the Sitecore Profile Item Template for Leads (Pre-Sitecore 9)
- Configuring UniqueKeyProperty for Leads (Optional) (Pre-Sitecore 9)
- Configuring UniqueKeyCaseSensitiveProperty for Leads (Optional) (Pre-Sitecore 9)