Extracting the Username of the logged-on user

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Extracting the Username of the logged-on user

    Is there something in either VB script or Java that can (at the client end)
    extract the username of the logged-on user that could be subsequently passed
    to a session variable or to the server? I'd like to use this information to
    restrict/allow access to certain menu's and therefore control access to the
    application.


    Vinnie the Rat Guest

  2. Similar Questions and Discussions

    1. #40205 [NEW]: can't get the real Imap username if logged in with an alias
      From: jekyll at home dot nl Operating system: Linux PHP version: 4.4.4 PHP Bug Type: Feature/Change Request Bug description:...
    2. I want asp.net to act as a different user than the one that is currently logged on IS THIS POSSIBLE!!!
      Hi James, were you able to resolve your problem? I'd be interested to know how you achieved this. Basically I have the same set up as you. I want...
    3. Recognise a logged in user
      Hi How do I recognise a logged in user on a Windows network. The clients are running XP/IE6. Server is NT Server 2000 / IIS. The Situation...
    4. Logged in user?
      I need some asp code that can give me the user that is logged on to the PC, can anyone help? Regards Betina
    5. Username not logged in IIS when using forms authentication with Active Directory
      Hi! I've succesfully implemented Forms Authentication with a Active Directory, described at...
  3. #2

    Default Re: Extracting the Username of the logged-on user

    Not really, turn off anonymous access and then you can use
    Request.ServerVariables("AUTH_USER") or
    Request.ServerVariables("LOGON_USER")

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Vinnie the Rat" <chokedee@eastnet.com.cn> wrote in message
    news:#FaVZBO5DHA.2412@TK2MSFTNGP11.phx.gbl...
    > Is there something in either VB script or Java that can (at the client
    end)
    > extract the username of the logged-on user that could be subsequently
    passed
    > to a session variable or to the server? I'd like to use this information
    to
    > restrict/allow access to certain menu's and therefore control access to
    the
    > application.
    >
    >

    Aaron Bertrand - MVP 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