To get the logged user; make sure to add a reference to Artech.Common.Helpers.dll and use the following code:
using Artech.Common.Helpers.Identity; ... string user = IdentityHelper.CurrentUser;