Hi All ,
I'm trying to get username who is creating the records oncreate plugin which is on Postoperation .
Below is my code , it does not work:
IOrganizationService organizationService = serviceFactory.CreateOrganizationService(context.UserId);
Entity systemuser = organizationService.Retrieve("systemuser", context.UserId, new ColumnSet("fullname"));
string usersy = systemuser.Attributes["fullname"].ToString();