Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT User Logon

Status
Not open for further replies.

jennuhw

MIS
Apr 18, 2001
426
US
Is there a way that I can pull the NT user account into a textbox? I have tried <%=(ntlogon)%> as the default value along with username and other things. Thanks.
 
FrontPage holds NT usernames as server variables called &quot;remote_user&quot;. Try that instead.

Laura.
 
I just tried that one and it didn't work. I also put quotes around it and tried nt_user. Neither worked. Is there a list of these somewhere? Thanks.
 
You may need to get your server administrator to check your server permissions. Anonymous access must be disabled so it can be up your nt accounts.
 
I was just going to check that. I kinda figured that might be the problem. Thanks.
 
That worked. Any ideas on how to just get the username? I am getting domain/username no matter what ones I try.
 
Hmmmm. Your server is allowing access based on the NT username with references the domain so I don't think there is a way around that. If need be, you should be able to save the info to an access database and then write a query in that to remove the domain reference from the username.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top