function addUsers() { global $_DOCMAN; // only add users if 'Allow individual user permissions' is set to ON if (!$_DOCMAN->getCfg('individual_perm', 1)) { return; } $this->addLabel(_DML_USERS, _DM_PERMIT_NOOWNER); $users =& DOCMAN_users::getList(); foreach ($users as $user) { $this->addOption($user->username . "(" . $user->name . ")", $user->id); } }