Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michael 1 post 21 karma points
    May 11, 2014 @ 21:53
    Michael
    0

    Umbraco 7 Custom Membership Provider use both Umbraco Users and external Members

    Hi, how can i use in Umbraco 7 the internal Users and roles  who use the BackOffice and my custom users and roles (which comes from an external SQL database.
    i want log in umbraco backoffice with the umbraco users as it is and with seperate Login want use external users. i have already chnged the web.config

    <!--<providers>
            <clear/>
               <add name="mynewMembershipProvider" type="mynewMembershipProvider, mynew" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="false" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed"/>
          </providers>

    <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
          <providers>
            <clear/>
            <add name="mynewrovider" type="mynewrsRoleProvider"/>
          </providers>
        </roleManager>-->

    when i go now to my custom Login i can Login my custom user . but when i try
    User.Identity.IsAuthenticated
    or
    User.IsInRole("xyz")
    umbraco is always looking at the umbraco roles.

    what did i have done wrong
    best regards michael

  • blackhawk 313 posts 1368 karma points
    Jan 17, 2018 @ 20:38
    blackhawk
    0

    Michael, just our curiosity, did you ever complete this task? If so what steps did you take to meet your goal?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft