Display of Deactivated Users
Permalink
So I am developing an Alumni system in C5 and so far it's been great. Been loving all of the user functions. It's made this a breeze so far. One of the more interesting items I've run in to was that we are importing 4000 users to start it, but users must claim their account or create a new account. All claims or new registrations must be approved or denied manually. I've built a special area where the admin will be able to see the claim or new registration requests. My issue is that I can only get activated accounts to display. I've tried playing with $ui->isActive() function, but I don't think that's what I'm looking for. Any suggestions on how to get my foreach list to display active and deactivated users?
Here is some of my code:
Thanks!
Here is some of my code:
$ul->filterByGroup('alumni'); $alumniusers = $ul->get(); foreach ($alumniusers as $userInfo) { $ui = UserInfo::getByID($userInfo->uID); $userid = $ui->getUserID(); //etc etc }
Thanks!
I should be able to make something work with this, but it would be a nice future feature to mark it as show both. :)