array kadm5_get_policies (resource handle)
array kadm5_get_policies
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); ?>