Grap userid(urgent)

Results 1 to 2 of 2

Thread: Grap userid(urgent)

  1. #1
    Join Date
    Dec 1969

    Default Grap userid(urgent)

    Is it possible to grab userid in Asp. I m developing a intranet site, everyone has to log on to system(computer) using standard window login. Is it possible to use the same login name on Intranet site or do i have to create a new login page??<BR><BR>N E help will b appreciated<BR><BR>Thanx in advance

  2. #2
    Brak & Chumly Guest

    Default RE: Grap userid(urgent)

    We used NT challenge/reponse to take advantange of NT security within our site, which forced a user login to enter site. Here is a way to grab that user login using server variables:<BR><BR>&#060;%&#039Gets the authenticated login name from the browser.<BR>strAuthUser = Request.ServerVariables ("Logon_User")<BR>%&#062;<BR><BR>Her is an example of putting the variable in HTML.<BR><BR>&#060;INPUT style="display:none" id=txtUserName name=txtUserName value="&#060;%= Trim(UCase(strAuthUser)) %&#062;"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts