JUserHelper::getUserId

Returns userid if a user exists