I saw this question regarding Silverlight 2, but I did not see any questions about Silverlight 4.
Is there a way to get the current user to run the application in Silverlight 4.0? It seemed to me that I remember that this is one of the features of 4.0, but I can not find it. (Maybe it was just wishful thinking on my part.) I would suggest that this should come from the OS that launches the browser or the browser itself. (The application is not installed locally, it is running in a browser)
I have a solution in which I call a web service method that simply does the following to get the username. However, I would not want you to call the web service
HttpContext.Current.User.Identity.Name.ToUpper();
Thanks in advance!
source share