API docs     >     Users and Permissions     >     UserMgr

UserMgr->getByProperty

Description

getByProperty ( $property, $value, bool = true )
Gets a User by a specific property value

Parameters

$property
string
Property identifier
$value
string
Property value
bool
(optional) $casesensitive TRUE if search should consider case sensitivity FALSE if not

Returns

int|bool
Userinfo or FALSE in case of an error