Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vim: syntax=C#
- // In Web.config
- //<authentication mode="Windows" />
- //<authorization>
- //<allow users="*"/>
- // <deny users="?"/>
- //</authorization>
- string name = User.Identity.Name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement