Query the users workstation for username

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Query the users workstation for username

    We have an Intranet application that will be available to all who authenticate
    to the domain. How do we set up the application to query the user's workstation
    for the Environmental Variables showing their username and that they have
    authenticated to the network. By returning the username back to CF, we then can
    create our Session Variables and User roles.

    scott@M&I Guest

  2. Similar Questions and Discussions

    1. Show username after login | Example: Welcome "USERNAME"to your Backoffice.
      hi. I've created a backoffice in php, and i would like to apply on the page the name of the user who has just logged in. Example: Welcome...
    2. Nt workstation 4 pcs
      We have a new 2003 server set up as a domain controller. Half of the workstations are Windows 2000 pro and the other half are NT workstation 4.0. The...
    3. stopping users registering with the same username?
      Hi, i've got a asp page to register a user and check that the username has not been previously registered, heres the code i have ... that doesnt...
    4. adding 2000 users to local XP Pro workstation groups
      I have built a small LAN with server 2000 and XP pro workstations. When I try to add a domain user or group to a local group, the domain accounts...
    5. Sql Query for new users in the system.....Help Needed
      SELECT today.LogDate, (today.TotalUsers - yesterday.TotalUsers) AS new_users FROM RegisteredUsers today INNER JOIN RegisteredUsers yesterday ON...
  3. #2

    Default Re: Query the users workstation for username

    Hi Scott,

    Look at #CGI.Auth_User#. If it's populated, NT has authenticated the user.

    HTH,
    philh Guest

  4. #3

    Default Re: Query the users workstation for username

    Also, anonymous access has to be turned off for the directory in IIS.
    philh Guest

  5. #4

    Default Re: Query the users workstation for username

    Phil - Thanks for the answer. After looking at the documentation, I believe
    this is exactly what I need, however, I'm too new at much of this stuff and
    cannot find how I can grab that username and use it within my application. I
    tried just to display it on a page with cfoutput but isn't working. Just a
    blank. Any ideas where I could see some samples on how others have used the
    cgi.auth_user results? We would like the users to have a single sign on
    evironment so when they open up this application, the session knows who they
    are and can present them information based on their username. The authorized
    username for all employees is their employee ID which we use in the application
    to display only their data. Thanks again.. Scott

    scott@M&I Guest

  6. #5

    Default Re: Query the users workstation for username

    Scott, if your environment is configured correctly, this variable should be
    populated. Is the Web server in the same domain as the users'? Are you sure
    that anonymous access is turned off (and Windows authentication is on) for this
    resource in IIS?

    philh 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