Skip navigation
Currently Being Moderated

Get window username

Feb 29, 2012 9:05 PM

Hi,

 

I have CF 8 with built in webserver (Window 2003 sever),

I want to get window username ....

 

 

Thanks,

 
Replies
  • Dave Watts
    747 posts
    Mar 11, 2003
    Currently Being Moderated
    Feb 29, 2012 9:10 PM   in reply to imadnan

    I'm not sure exactly what you mean. Do you mean the Windows username of a website visitor?

     

    If so, use IIS instead of the built-in web server, and configure it to require Windows authentication. Then, in your CF code, you can look for CGI.AUTH_USER.

     

    Dave Watts, CTO, Fig Leaf Software

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points