Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. browser info

browser info

Scheduled Pinned Locked Moved ASP.NET
sysadmin
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shah zad
    wrote on last edited by
    #1

    hi can any one tell me that is it possible to get the windows nt login information when he open our site in his browser as normally get his info like operating system etc through server variables regards

    shezi

    P S 2 Replies Last reply
    0
    • S shah zad

      hi can any one tell me that is it possible to get the windows nt login information when he open our site in his browser as normally get his info like operating system etc through server variables regards

      shezi

      P Offline
      P Offline
      playout
      wrote on last edited by
      #2

      Yes. Dim strNetworkUser As String = HttpContext.Current.User.Identity.Name.ToString() That will return the domain and username. You can then just split the string at the "/" to get just the name.

      M 1 Reply Last reply
      0
      • P playout

        Yes. Dim strNetworkUser As String = HttpContext.Current.User.Identity.Name.ToString() That will return the domain and username. You can then just split the string at the "/" to get just the name.

        M Offline
        M Offline
        Michael Sync
        wrote on last edited by
        #3

        plus. you have to deny "Anonymous Access".

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

        1 Reply Last reply
        0
        • S shah zad

          hi can any one tell me that is it possible to get the windows nt login information when he open our site in his browser as normally get his info like operating system etc through server variables regards

          shezi

          S Offline
          S Offline
          shah zad
          wrote on last edited by
          #4

          Thanks folks

          shezi

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups