Profile Handle APIs might do what you are looking for. Google on Profile Handle API for more info
Profile Handle APIs might do the work (depending on what the question actually means.) If the question is about reaching into some other ‘active’ job, then the Profile Handle APIs won’t help in the slightest unless the job was created so that the APIs are already in use.
Without clarification from the OP, no good answer is possible.