Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have tried it by writting following code in aspx page
C++
<param name="initParams" value="UserName=<%= Request.ServerVariables["LOGON_USER"]%>"/>

and
C++
<param name="initParams" value="username=<%= User.Identity.Name %>" />

alternatively, but its giving me "Null" value
When i run it on IIS on server side.

Is it possible to do it in silverlight application?
Thanks in advance.
Posted

Since you have to embed the siverlight app into the aspx page, why don't you pass that info in the querystring (I'd encrypt it as well)?
 
Share this answer
 
Do you have an appropriate UriMapper element for the silverlight page in the MainPage.xaml of your silverlight app?
 
Share this answer
 
sorry, i m new to silverlight n .net too
What does " UriMapper element for the silverlight page in the MainPage.xaml of your silverlight app"
mean?

thanks for ur reply
 
Share this answer
 
I have passed it, but its giving me Null value.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900