2011-07-23 12:27:11 +00:00
|
|
|
<?php
|
|
|
|
include("config.php");
|
2013-02-14 11:10:53 +00:00
|
|
|
include("SeedDMS/SeedDMS_Core.php");
|
2011-07-23 12:27:11 +00:00
|
|
|
|
2013-02-14 11:10:53 +00:00
|
|
|
$db = new SeedDMS_Core_DatabaseAccess($g_config['type'], $g_config['hostname'], $g_config['user'], $g_config['passwd'], $g_config['name']);
|
2011-07-23 12:27:11 +00:00
|
|
|
$db->connect() or die ("Could not connect to db-server \"" . $g_config['hostname'] . "\"");
|
|
|
|
|
2013-02-14 11:10:53 +00:00
|
|
|
$dms = new SeedDMS_Core_DMS($db, $g_config['contentDir'], $g_config['contentOffsetDir']);
|
2011-07-23 12:27:11 +00:00
|
|
|
|
|
|
|
$users = $dms->getAllUsers();
|
|
|
|
foreach($users as $user)
|
|
|
|
echo $user->getId()." ".$user->getLogin()." ".$user->getFullname()."\n";
|
|
|
|
|
|
|
|
?>
|