WordPress.org

Ready to get started?Download WordPress

Forums

Membership
[resolved] Can the Membership plugin work in conjunction with the Active Directory Integrat (4 posts)

  1. tcwaters
    Member
    Posted 5 months ago #

    I need to add fiunctionality that this plugin allows, but I need the user's authentication to be via Active Directory, and I'm using the Active Directory Integration plugin. Can these work together?

    https://wordpress.org/plugins/membership/

  2. David
    WPMU DEV Support Staff
    Posted 5 months ago #

    Hi @tcwaters,

    Hope you're doing great today! :)

    We've not actually tested that combination ourselves. Perhaps you could give it a try? We'd love to know how it works for you!

    The 2 plugins don't have any specific integration features, but if that plugin is mostly concerned with the user login, that shouldn't be a problem for Membership, which relies on WordPress for the login process.

    Cheers,
    David

  3. tcwaters
    Member
    Posted 5 months ago #

    First, your plugin looks great, and I'm really impressed with it, however, after some experimentation, it seems as if it may be too heavily weighted towards user entered control- that users can select what levels, etc. I don't need any of that. I just need to create levels for content based on AD Group membership so another plugin like Page Restrict may be a better fit for my need. If I test with Membership, I'll post results.

    THX!

  4. David
    WPMU DEV Support Staff
    Posted 5 months ago #

    Hi @tcwaters,

    Thanks for your reply.

    Actually, if you need strict control, you could potentially not even use the registration and subscription forms it provides.

    You can do it all manually. When someone signs up on your site, through whatever means, you can go to the Members page and manually move them to a membership level.

    The users would have no control over that.

    If you need specific integration with AD's functionality, that probably wouldn't be too difficult. Just a matter of using Membership's methods of adding an access level to a user, like so:

    $member = new M_Membership($user_id);
    $member->add_level( $level_id );

    Hope that helps! :)

    Cheers,
    David

Reply

You must log in to post.

About this Plugin

About this Topic