Results 1 to 3 of 3

Thread: Pulling Windows usernames

  1. #1

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Question Pulling Windows usernames

    I have a section of the company intranet where employees can manage their projects for the year. There are two pages: one to add the project (if it is new) and an edit page ( for existing projects). There is a textbox that has the owner of the project. I want only the project owner of a specific project to be able to get to the edit page. Is there a way to grab the windows username(all of this hidden, maybe vbscript or API call?) to verify that the current user has permission to edit that project? If you need more information, let me know. Thanks in advance.
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

  2. #2
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118
    if u r using ASP i have a way to get the logon username
    place this code in the ASP to get the username
    request.servervariables("LOGON_USER")
    Also while creating vir dir please remove anonymous access.

    Thanks
    Sonia

  3. #3

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Talking THANX!

    thanks for the help!
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

Posting Permissions

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



Click Here to Expand Forum to Full Width