原代码:
string loginName = HttpContext.Current.User.Identity.Name.Trim().ToUpper(); ----WZSCN\Z11091132
取id:
private string ParseUserId(string strName)
{
int iInd = strName.LastIndexOf('\');
if (iInd >= 0)
return strName.Substring(iInd + 1);
else
return strName;
}