Are you referring to initiator of the workflow user if that’s the case then please refer to https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/is-it-possible-to-get-the-current-user-in-the-workflow/m-p/446998
current user can be found from session object
session.getUserID();
...