mgd_list_persons
mgd_list_persons -- List person records
Description
`object **mgd_list_persons** (void)`
Minimum version: Midgard 1.0
Lists all person records.The records are sorted alphabetically by the fields lastname and firstname in this order. The returned records contain the following fields if readable by the current user: id, username, name, rname, extra, topic, department, office, admin, public. See the description of the person record's fields for more information.
Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.
N == 0 ) {
echo "No person records available";
} else {
while( $people->fetch() ) {
echo $people->name .
" username: " . $people->username
. "
\n";
}
}
?>
