FOFPlatform::loginUser

logs in a user