Copied to clipboard

Flag this post as spam?

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

  • Phil Gilligan 25 posts 136 karma points
    Jan 19, 2015 @ 18:26
    Phil Gilligan

    Member Export with Custom Membership Provider

    Hi Richard,

    I've created a custom membership provider to allow me to set certain access control properties such as minimum password length and set a minimum number of upper case and numeric characters for my password.

    I've done this by inheriting from UmbracoMembershipProvider and overriding the ChangePassword and ValidateUser methods in my custom provider.

    Unfortunately, this has broken MemberExport and I am receiving the following error:

    We are very sorry, but MemberExport only works with the default Umbraco Membership provider

    Please could you advise if there is a work around for this, or do I need to find some other way of enforcing my access control logic?

    Thanks in advance.

    Phil Gilligan

  • Richard Soeteman 4042 posts 12890 karma points MVP 2x
    Jan 19, 2015 @ 18:48
    Richard Soeteman

    Hi Phil,

    Yes this is possible since you are inheriting from the default provider. See section 6.2 of the manual how to configure memberexport for that scenario.

    Basically you need to add the type of your custom provider to memberexport.config

        <provider typeName="Customproviders.members.membershipprovider"/>

    Hope this helps,


  • Phil Gilligan 25 posts 136 karma points
    Jan 19, 2015 @ 18:50
    Phil Gilligan

    Brilliant!  Thanks Richard.

Please Sign in or register to post replies

Write your reply to: