You are here

function devel_get_users in Devel 5

Same name and namespace in other branches
  1. 6 devel_generate.inc \devel_get_users()
  2. 7 devel_generate/devel_generate.inc \devel_get_users()
1 call to devel_get_users()
devel_generate_content in ./devel_generate.inc

File

./devel_generate.inc, line 388

Code

function devel_get_users() {
  $users = array();
  $result = db_query("SELECT uid FROM {users}");
  while ($user = db_fetch_object($result)) {
    $users[] = $user->uid;
  }
  return $users;
}