function access_scheme_user_realms in Access Control Kit 7
Realms callback for the user scheme type.
See also
1 string reference to 'access_scheme_user_realms'
- access_access_scheme_info in ./
access.access.inc - Implements hook_access_scheme_info().
File
- callbacks/
access.user.inc, line 13 - Callback functions for the user access scheme type.
Code
function access_scheme_user_realms($scheme) {
return db_query('SELECT uid, name FROM {users} WHERE uid > 0')
->fetchAllKeyed();
}