boolean File_Passwd_Authdigest::userInRealm (
string $user
, string $realm
)
Ckeck if a certain user is in a specific realm.
$user
the user to check
$realm
the realm the user shuold be in
Returns TRUE if user is in realm, FALSE if not or PEAR_Error on failure.
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_NOT | specified realm doesn't exist |
This function can not be called statically.