User::findUsersByGroup has a hard limit of 5000 users, so put it in a loop. While we are there, replace a deprecated method, handle failures and make the output a bit more pretty. Change-Id: I5cc93f17a70dfcdc6ed5f1b57e11ebfd7bf9d76c
Bug: T185989 Change-Id: Ie5cc95b350230bc730c1f1d9f06fc3e95c5f6bd0