Excluded Users
pukku - November 1, 2006 - 15:39
Excluded Users is a helper module which allows administrators to select users not to appear in user listings by modules that know how to work with excluded_users. This should only be installed if you're using a module which knows how to work with it (at this time, organizational infrastructure, minutes, and site user list).
Developers, you can make use of this module like this:
<?php
$uids_to_exclude = array(0); //usually, you want to exclude the anonymous user
if (module_exist('excluded_users')) {
$uids_to_exclude = excluded_users_get_excluded_uids();
}
// ...
$users_query = db_query("SELECT uid FROM {users}
WHERE uid not in (" . implode(",", $uids_to_exclude) . ")");
?>Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.0 | 2008-Dec-09 | 7.67 KB | Download · Release notes | Recommended for 6.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 5.x-1.x-dev | 2007-Jun-19 | 7.65 KB | Download · Release notes | Development snapshot | |
