File_Passwd_Authdigest::listUserInRealm

File_Passwd_Authdigest::listUserInRealm() – List user

Synopsis

array File_Passwd_Authdigest::listUserInRealm ( string $inRealm = '' )

Description

List all user af either one specific or all realms.

Parameter

string $inRealm

the realm to list users of

Return value

Returns array:

  • associative array of users of ONE realm if $inRealm was supplied
    <pre>
      realm1
       + user1 =&gt; pass
       + user2 =&gt; pass
       + user3 =&gt; pass
    </pre>
  • associative array of all realms with all users
    <pre>
      array
       + realm1 =&gt; array
                    + user1 =&amp;gt; pass
                    + user2 =&amp;gt; pass
                    + user3 =&amp;gt; pass
       + realm2 =&gt; array
                    + user3 =&amp;gt; pass
       + realm3 =&gt; array
                    + user1 =&amp;gt; pass
                    + user2 =&amp;gt; pass
    </pre>

Note

This function can not be called statically.

Delete a user (Previous) Ckeck if a certain user is in a specific realm (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.