C#:
private string GetLogonUserID() { string strLogonUser = Request.LogonUserIdentity.Name.Substring(Request.LogonUserIdentity.Name.IndexOf("\\") + 1, Request.LogonUserIdentity.Name.Length - Request.LogonUserIdentity.Name.IndexOf("\\") - 1); return strLogonUser.ToString(); }
沒有留言:
張貼留言