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



PHP : Function Reference : KADM5 : kadm5_get_policies

kadm5_get_policies

Gets all policies from the Kerberos database (PECL kadm5:0.2.3)
array kadm5_get_policies ( resource handle )

Example 1104. kadm5_get_policies() example

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

print
"<h1>get_policies</h1>\n";
foreach (
kadm5_get_policies($handle) as $policy) {
   echo
"$policy<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