To be able to grab the current user in SharePoint, you would use:

SPContext.Current.Web.CurrentUser

So, in order to assign it to a variable in your code, you would do something similar to this:

VB.Net:
Dim sME As String = SPContext.Current.Web.CurrentUser.ToString
C#:
string sME = SPContext.Current.Web.CurrentUser.ToString;