File_Passwd_Authdigest::userInRealm() – Ckeck if a certain user is in a specific realm


require_once 'Passwd/Authdigest.php';

boolean File_Passwd_Authdigest::userInRealm ( string $user , string $realm )


Ckeck if a certain user is in a specific realm.


string $user

the user to check

string $realm

the realm the user shuold be in

Return value

Returns TRUE if user is in realm, FALSE if not or PEAR_Error on failure.

Possible PEAR_Error values
Error Code Summary
FILE_PASSWD_E_EXISTS_NOT specified realm doesn't exist


This function can not be called statically.

List user (Previous) Generate password (Next)
Last updated: Mon, 12 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.