File_Passwd_Authdigest::userInRealm()

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

Synopsis

require_once 'Passwd/Authdigest.php';

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

Beschreibung

Ckeck if a certain user is in a specific realm.

Parameter

string $user

the user to check

string $realm

the realm the user shuold be in

Rückgabewert

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

Tabelle 38-1. Mögliche Fehler-Arten

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTspecified realm doesn't exist

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.