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.