function setUser(user) {
    callOnHub('setUser', user);
}
Updates user context information for future events.

@param user User context object to be set in the current context. Pass `null` to unset the user.