PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

kadm5_init_with_password> <kadm5_get_principal
Last updated: Fri, 03 Oct 2008

view this page in

kadm5_get_principals

(PECL kadm5:0.2.3)

kadm5_get_principalsKerberos データベースから、すべてのプリンシパルを取得する

説明

array kadm5_get_principals ( resource $handle )

kadm5_get_principals() は、プリンシパルの名前を含む 配列を返します。

パラメータ

handle

KADM5 ハンドル。

返り値

成功した場合はプリンシパルの配列、失敗した場合は FALSE を返します。

例1 kadm5_get_principals() の例

<?php
$handle 
kadm5_init_with_password("afs-1""GONICUS.LOCAL""admin/admin""password");

print 
"<h1>get_principals</h1>\n";
foreach (
kadm5_get_principals($handle) as $principal) {
    echo 
"$principal<br />\n";
}

kadm5_destroy($handle);
?>



add a note add a note User Contributed Notes
kadm5_get_principals
There are no user contributed notes for this page.

kadm5_init_with_password> <kadm5_get_principal
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites