Calling and receiving current user information can be done using both the “code” and “design” methods, which are given below with related explanations:

bpmAppService.BPMSServices.MercuryService.CurrentUser();
Output: Rayvarz.Profiles.User