I am trying to output the current logged on user, when the form is submitted. However i cannot figure out how to get this
string WithDomain = HttpContext.Current.Request.LogonUserIdentity.Name.ToString(); string JustName = WithDomain.Substring(WithDomain.LastIndexOf('\\') + 1); into my existing Output String " ITSPPSoftwareProcurementProcessRequest ". The Current.Request.LogonUserIdentity.Name will just be at the top of the Emailed Attachment.
How do I get this working?
<script language="C#" runat=server > private void btnSendmail_Click(object sender, EventArgs e) { string ITSPPSoftwareProcurementProcessRequest = String.Empty; ITSPPSoftwareProcurementProcessRequest += "<html>"; ITSPPSoftwareProcurementProcessRequest += "<head>"; ITSPPSoftwareProcurementProcessRequest += "</head>&quo ...

Go to the complete details ...