Member Junction
    Preparing search index...

    Function CloneUserWithTenantContext

    • A per-task copy of user carrying the caller's tenant context. The user a node runs as is the process-wide UserCache instance or the dispatcher's own user, and every other task — and every request — shares it; stamping the context onto it would pin it to this tenant for the life of the process. So the input is never stamped: this follows MJServer's CloneUserForSessionContext (spread the backing fields, hand the roles over explicitly, then stamp the clone).

      Parameters

      Returns UserInfo