File_Passwd_Authdigest::userInRealm()

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

Referentiesamenvatting

require_once 'Passwd/Authdigest.php';

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

Beschrijving

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

Return waarde

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

Tabel 38-1. Mogelijke PEAR_Error waarden

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTspecified realm doesn't exist

Note

Deze functie kan niet statisch worden aangeroepen.