+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Share admin users between SF sites

Share admin users between SF sites

3 posts, 0 answered
  1. UI Crew
    UI Crew avatar
    151 posts
    Registered:
    27 Sep 2012
    25 Jan 2007
    Link to this post
    Hi,

    I have a client with 2 sites totally different but obviously their CMS admin people are the same. Is there a way in Beta 3 I can share admin users between both sites so that users, passwords etc are the same?

    Obviously I will need 3 dbs 1 x membership, 2 x CMS?

    What changes do I need to make to the web.config.

    Do I need to make the application name in the web.config the same or something?

    Any considerations I need to make or potential problems?

    Cheers,

    Seth

  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    25 Jan 2007
    Link to this post
    Hello Seth,

    Yes you should have three databases, as you said, one for Membership users and two for the CMS.

    Also, you should make the following modification in the Web.config files for both sites:
    • Add additional connection string in the connection string section with name Membership:

      <connectionStrings>
        <add name="Sitefinity" connectionString="data source=..." providerName="System.Data.SqlClient" />
        <add name="Membership" connectionString="data source=..." providerName="System.Data.SqlClient" />
      </connectionStrings>


    • There are two ways to set the Membership database
      • In caseyou are using Intergarted in Sitefinity Membership providers

        Add a new connection in the telerik/nolics/connections section with name  and set the connectionStringName attribute to Membership
         
         <telerik>
          <nolics>
            <connections>
              <add name="DefaultNolicsConnection" driver="Nolics.ORMapper.DataProviders.SqlServer2005Provider" connectionStringName="Sitefinity" />
              < add name="MembershipNolicsConnection" driver="Nolics.ORMapper.DataProviders.SqlServer2005Provider" connectionStringName=" Membership" />
            </connections>
          </nolics>
        </telerik>


        Change the connectionStringName attribute of Membership, Role and Profile providers to MembershipNolicsConnection


      • In case you are using different Membership providers(i.e. SqlMembershipProvider, ActiveDirectoryMembershipProvider)

        Remove the default Membership, Role and Profile providers. Add new providers and set the connectionStringName attribute to Membership, for example:

        <membership defaultProvider="Sitefinity">
          <providers>
            <clear />
            <add name="Sitefinity" connectionStringName="Sitefinity" type="..." ... />
           </providers>
        </membership>

    All the best,
    Vlad
    the telerik team
  3. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    25 Jan 2007
    Link to this post
    Thats awesome.  We could use that for several of our clients!
Register for webinar
3 posts, 0 answered