We want to use the Jasper Rest API to schedule a Job in JasperServer, that is able to "Run As" another user. We setup a service login that we use as a generic Rest API login to be able to create the Scheduled Jobs. However, when running the report that service account's LoggedInUsername is what is appearing. Is there anyway I can pass LoggedInUsername to the report as a "Run As" situation, and not have it overridden by the service account i'm using in the Rest API? Or do I need to create a new parameter in the report that does a cacluation to handle this?
Looking for some direction.