API docs     >     Users and Permissions     >     UserMgr

UserMgr->validate

Description

validate ( $username, $password )
Validates the current user using the given username and password

Parameters

$username
string
Username
$password
string
Password

Returns

int|bool
User Id or FALSE if an error has occured