/** * Get the ids and names of all users or those with a specified role, sorted alphabetically * * @param string $role - optional user role to filter to * @return array */ public function userIdNameList($role = '') { require_once LIBS . 'UserInfo.php'; $userInfo = new UserInfo(); return $userInfo->userIdNameList($this, $role); }