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
kadm5.acl(5) - centos
kdb_init(8krb) - ultrix
readdir(3) - php
pg_lo_open(3) - php
rewind(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!