kadm5_get_policies -- Gets all policies from the Kerberos database.
Description
Returns array of policies on success, or FALSE on failure.
kadm5_get_principals()
returns an array containing the policies's names.
Example 1. KADM5 extension overview example <?php
$handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password");
print "<h1>get_policies</h1>\n";
$policies = kadm5_get_policies($handle);
for( $i=0; $i<count($policies); $i++)
print "$policies[$i]<br>\n";
kadm5_destroy($handle);
?> |
|