JUserHelper::getUserId
Returns userid if a user exists
Signature
public function getUserId(string
$username )
Parameters
-
$username
- The username to search on.
Returns
- integer
- The user id or 0 if not found.