One-way assignment to the user can be done using both the “code” and the “design” method, which is given below with related explanations.

bpmAppService.BPMSServices.MercuryService.AssignStaffToUser(input1,input2,input3);
input1: ID Staff
input2: ID User
input3: True Or False (True= Catalog Bpms)
Output: Void