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:
$ul->filterByGroup('alumni');
$alumniusers = $ul->get();
foreach ($alumniusers as $userInfo) {
   $ui = UserInfo::getByID($userInfo->uID);
   $userid = $ui->getUserID();
   //etc etc
}


Thanks!

afixia
 
afixia replied on at Permalink Reply
afixia
Well I found something that helps:
$ul->filterByIsActive(0);
//or
$ul->filterByIsActive(1);


I should be able to make something work with this, but it would be a nice future feature to mark it as show both. :)
afixia replied on at Permalink Reply
afixia
Yup sure did... This always happens! Every time I make the time to create a post I figure out the solution a few minutes after I post! Anyway, thanks C5 for making an awesome system, keep up the good work!