Force Login with Redirect and Exceptions

So in my work, usually for internal company sites, I’ve needed to lock down some sites completely. There are plenty of plugins that accomplish this with varying degrees of success, but I’ve almost always found them to conflict with something or other. With the code below, we will accomplish three goals: Forcing users to log on to view the site …

Active Directory Integration – Multiple Roles

There is fantastic plugin called Active Directory Integration that I use at my workplace to authenticate users with our Active Directory. This also allows me to map AD Group Membership to WP roles, which comes in crazy handy. The catch is that it only assigns the user a SINGLE role, when I have complex permissions that required many users to have multiple …