Sharepoint-Get The Current User


 protected override void RenderContents(HtmlTextWriter myHtmlTextWriter)
{
myHtmlTextWriter.Write("Most Welcome : {0}.", SPContext.Current.Web.CurrentUser.Name);
}