Obtaining an object or identifier properties in the Principal table can be done using both the “code” and “design” methods, which are given below the related description:

bpmAppService.BPMSServices.MercuryService.GetPrincipal (input1);
input1: ID Staff or ID User or ID Department (for example: bpmAppService.BPMSServices.MercuryService.CurrentStaff.ID)
Output: Rayvarz.Profiles.Principal