PLEASE? Any way to get the user's nt login from the pc -- not the server login?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: PLEASE? Any way to get the user's nt login from the pc -- not the server login?

    Hi,
    string sUser = Request.ServerVariables["LOGON_USER"] ;

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  2. Similar Questions and Discussions

    1. Strange problem with Forms authentication: After successfull login, login page is still displayed
      Hi there I have a quite strange problem with my ASP.NET-Application. The application has being deployed one year ago and worked fine till last...
    2. Refresh information based on user's login
      First, a little background information to help explain the situation: I have an index page that displays various sections of our site, and a link...
    3. Login to admin system through login screen only
      Hi there, I have an issue relating to login to my asp.net application. Basically i have built the standard login page which compares against the...
    4. session problem - login screen continually reloads after pressing the login button
      I am trying to get sessions to work on a log in screen to give certain users access to certain pages/directories. The problem is that when the...
    5. LOGIN: ERROR- Failed to initialize policy manager. (IFOR_PM_FATAL) Login sessions denied.
      Verify that you haven't set the system date by mistake to a far away future. All the licenses then become expired! Restoring the system to the...
  3. #2

    Default Re: PLEASE? Any way to get the user's nt login from the pc -- not the server login?

    If you have NT authentication turned on for the site, you can access the
    user from the

    User.Identity.Name. That will return the domain/username.

    That is the method we use for our intranet sites.

    bill

    "KathyB" <KathyBurke40@attbi.com> wrote in message
    news:75e8d381.0307020653.2e7b1a5c@posting.google.c om...
    > Hi,
    >
    > Creating an intranet web app using asp.net. Is there ANY way I can get
    > the user nt login from the pc, once the user has loaded the start aspx
    > page?
    >
    > So far, I've just gotten back the server login...and the ip address
    > isn't what i need.
    >
    > If possible, code example would be most appreciated!
    >
    > thanks. Kathy

    William F. Robertson, Jr. Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139