kadm5_get_principals(3) php man page | unix.com

Man Page: kadm5_get_principals

Operating Environment: php

Section: 3

KADM5_GET_PRINCIPALS(3) 						 1						   KADM5_GET_PRINCIPALS(3)

kadm5_get_principals - Gets all principals from the Kerberos database

SYNOPSIS
array kadm5_get_principals (resource $handle)
DESCRIPTION
kadm5_get_principals(3) returns an array containing the principals's names.
PARAMETERS
o $handle - A KADM5 handle.
RETURN VALUES
Returns array of principals on success or FALSE on failure.
EXAMPLES
Example #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 ALSO
kadm5_get_principal(3). PHP Documentation Group KADM5_GET_PRINCIPALS(3)
Related Man Pages
krb.excl(5) - debian
kdb_init(8krb) - ultrix
pg_lo_close(3) - php
curl_multi_info_read(3) - php
kadm5_get_principal(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!