Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : KADM5 : kadm5_get_principals

kadm5_get_principals

Gets all principals from the Kerberos database (PECL kadm5:0.2.3)
array kadm5_get_principals ( resource handle )

Example 1106. kadm5_get_principals() example

<?php
$handle
= kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password");

print
"<h1>get_principals</h1>\n";
foreach (
kadm5_get_principals($handle) as $principal) {
   echo
"$principal<br />\n";
}

kadm5_destroy($handle);
?>

Change Language


Follow Navioo On Twitter
kadm5_chpass_principal
kadm5_create_principal
kadm5_delete_principal
kadm5_destroy
kadm5_flush
kadm5_get_policies
kadm5_get_principal
kadm5_get_principals
kadm5_init_with_password
kadm5_modify_principal
eXTReMe Tracker