diff options
author | neoraider <devnull@localhost> | 2006-04-16 22:21:01 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-16 22:21:01 +0200 |
commit | bde164393aa3b8c59ee15c0ae80c4268b236fb47 (patch) | |
tree | 9972504ddb25387ac1d20085e126afb583a66a19 /code/user.inc.php | |
parent | ac0c6f0b35a99fed2308aef85df818db3d871a95 (diff) | |
download | neon-bde164393aa3b8c59ee15c0ae80c4268b236fb47.tar neon-bde164393aa3b8c59ee15c0ae80c4268b236fb47.zip |
Rechteverwaltung ?berarbeitet.
Diffstat (limited to 'code/user.inc.php')
-rw-r--r-- | code/user.inc.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/code/user.inc.php b/code/user.inc.php index b9cab2d..4912bcc 100644 --- a/code/user.inc.php +++ b/code/user.inc.php @@ -136,6 +136,18 @@ return ($GLOBALS['db']->Affected_Rows() > 0); } + + function ListUsers() { + $res = $GLOBALS['db']->Execute('SELECT id, name FROM users ORDER BY id'); + + return $res->GetArray(); + } + + function ListGroups() { + $res = $GLOBALS['db']->Execute('SELECT id, name FROM groups ORDER BY id'); + + return $res->GetArray(); + } } $GLOBALS['user'] = new User; |