In my Silverlight application, I am trying to get the logged windows user id in xxx.web project of xxxx.aspx page by using
<param name="Initparams"
value="UserName=<%=System.Security.Principal.WindowsIdentity.GetCurrent().Name%>"/>
code and am getting the result when running in the local machine. When I deployed it in the server it is getting like **
NETWORK SERVICE
Can anyone give solution for this?