OWA邮件选人及约会请求选人修改

<script language="javascript">
<%
string strId = User.Identity.Name;
if (strId.IndexOf("\\") != -1) {
 string[] arry = strId.Split("\\".ToCharArray());
 if (arry.Length > 1)
  strId = arry[1];
}
Response.Write("var UserId = '"+ strId +"';");
%>
</script>
将以上代码加在C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\forms\premium目录下的
editcalendaritem.aspx以及editmessage.aspx的body标签后面即可
原文地址:https://www.cnblogs.com/yuanxiaoping_21cn_com/p/1545807.html