API docs     >     Users and Permissions     >     UserMgr

UserMgr->getByHash

Description

getByHash ( $hash, $salt )
Gets a User by a MD5 hash of the specified login/email

Parameters

$hash
string
MD5 hashed login / email address
$salt
string
(optional) Salt

Returns

int|bool
Userinfo or FALSE in case of an error