Query: kadm5_get_principals
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
KADM5_GET_PRINCIPALS(3) 1 KADM5_GET_PRINCIPALS(3) kadm5_get_principals - Gets all principals from the Kerberos databaseSYNOPSISarray kadm5_get_principals (resource $handle)DESCRIPTIONkadm5_get_principals(3) returns an array containing the principals's names.PARAMETERSo $handle - A KADM5 handle.RETURN VALUESReturns array of principals on success or FALSE on failure.EXAMPLESExample #1 kadm5_get_principals(3) example <?php $handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password"); print "<h1>get_principals</h1> "; foreach (kadm5_get_principals($handle) as $principal) { echo "$principal<br /> "; } kadm5_destroy($handle); ?>SEE ALSOkadm5_get_principal(3). PHP Documentation Group KADM5_GET_PRINCIPALS(3)
Related Man Pages |
---|
kdb_init(8krb) - ultrix |
curl_multi_info_read(3) - php |
kadm5_modify_principal(3) - php |
pg_lo_open(3) - php |
pg_lo_truncate(3) - php |