How to get Username of the user using Apex? January 7, 2016June 9, 2022InfallibleTechie Admin Sample Code: UserInfo.getUserName(); Cheers!!!