|
This script detects the username of each visitor of your intranet-page. Could be used to detect whether a user of the intranet is an Administrator or should not be allowed to enter the page. (The "User" variable contains the NT-login name). Code: ASP 2.0 & VBScript |
| |
Overall Rating:
 User Rated
| |
Not enough info to work  Written by Daniel Yee from San Diego, CA (Tuesday, October 22, 2002) Writer is with: http://www.cfhc.com
 |
Strengths: None Weaknesses: Not enough description, not enough code Details: There is not enough code to get it to work. There is only a little bit. There should be a full coding (enough to copy and paste, you are missing the <% and %> plus other command to make it work and an example of how it should work.
I can't get it to work. I would like to use this is coding but there is not enough to get it to work as of yet.
Review Based On: 1 Day(s) of usage |
Very handy - quick question though  Written by Anonymous User (#1881-343) from Stoke, UK (Wednesday, June 05, 2002)
 |
Strengths: no comment Weaknesses: no comment Details: Very useful toy for authenticating - just one question - anyone know how to get the users Full Name from the system? At the moment I have to keep a list of authorised users along with their full names, which isn't a lot of help for new visitors to the site. |
Doesnt work for me ether !  Written by Anonymous User (#1456-101) from London, England (Thursday, December 06, 2001)
 |
Strengths: no comment Weaknesses: no comment Details: I'm using Win2000 Advanced server to host my company Intranet. I have tried to use your script but nothing appears when the page is called from my browser. But if I use Request.ServerVariables("LOGON_USER") or ("AUTH_USER") I get DomainName\UserName. But what I want is e.g. "LastName, FirstName" on "DomainName". Do you know how I can get this kind of output ? My email address is scott.ferguson@genesisoilandgas.com.
Thanks |
Easy and good!  Written by Anonymous User (#1523-158) from Eindhoven, Netherlands (Tuesday, September 11, 2001)
 |
Strengths: no comment Weaknesses: no comment Details: I think this is much usefull just to spice up your page....
Just copy and paste and everything works fine. After that u have a variable with the name User...... |
Answering Daniel's question  Written by Anonymous User (#1498-260) from Rotterdam, The Netherlands (Monday, September 10, 2001)
 |
Strengths: no comment Weaknesses: no comment Details: Daniel, from Bountiful, Utah: The script only works on an INTRANET. So it won't work on the WWW. I never have heard that it didn't work! What's the error that's being displayed when running the script?! Please mail me at: asp@paardekam.nl |
Doesn't Work  Written by Anonymous User (#1467-141) from Bountiful, Utah (Monday, September 10, 2001)
 |
Strengths: no comment Weaknesses: no comment Details: I am using windows 200 and IIS 5 but i cant get it to work, it doesnt return anything. Do you have a solution? I think this is a cool idea but if i cant get it to work its useless. Thank You |
| |
|