Acquiring current user organizational units can be done using both the “code” and “design” methods, which are given below with related explanations.

bpmAppService.BPMSServices.MercuryService.CurrentUserDepartment();
Output: List Department