Freigeben über


Sample test .aspx page to display User Security Principal and Name

Hi Folks,

For a case recently I was required to provide a quick sample script to display the logged in user security principal which I have attached to this post. I hope you will also find it useful.

My colleagues from the French team has also posted a similar post on this: https://blogs.msdn.com/b/friis/archive/2013/01/08/asp-net-authentication-test-page.aspx

Thanks,

Rez

UserID.zip