Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. vim: syntax=C#
  2.  
  3. // In Web.config
  4. //<authentication mode="Windows" />
  5.  
  6. //<authorization>
  7. //<allow users="*"/>
  8. // <deny users="?"/>
  9. //</authorization>
  10.  
  11. string name = User.Identity.Name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement