public SPUser GetCurrentUser() { var context = SPContext.Current; SPWeb web = context.Web; return web.CurrentUser; }