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 )

Description

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 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

Note

This function can not be called statically.

List user (Previous) Generate password (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.