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
curl_multi_info_read(3) - php
cubrid_close_request(3) - php
kadm5_modify_principal(3) - php
rewind(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun