|
-
Oct 4th, 2000, 09:49 PM
#1
Thread Starter
New Member
I am developing a DLL that will find the User Name of the person logged on to a computer and do some other verification before allowing the user to move on. This DLL work's perfectly from a local machine, but when installed on the server and used with a ASP page, it can not find the name of the user who's activating this ASP page.
How can I find the User Name of the person who's clicking the ASP page????
-
Oct 5th, 2000, 03:34 PM
#2
Lively Member
Try using in asp file
<%=Request.servervariables("LOGON_USER") %>
Chers
Harsoni
-
Oct 5th, 2000, 05:21 PM
#3
Frenzied Member
That's because the user has to be running NT or 2000.
I don't know how you are getting this info with the dll but your dll on the server will not be able to get at this info.
Your best bet is to create a login page.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 5th, 2000, 10:28 PM
#4
Guru
If you want to get the NT User name on an ASP page via the LOGON_USER parameter, you must disable anonymous access to your directory. This will force authentication to occur and allow you to get the NT name.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|