Results 1 to 2 of 2

Thread: Can I detect Network User ID on an asp.net App

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Location
    NYC
    Posts
    50

    Can I detect Network User ID on an asp.net App

    if the browser is on an intranet can I find out who is hitting my page? I want to do this w/o cookies if possible...

    Thanks.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    First, use windows authentication in IIS. Then the credentials will be passed to ASPNET. From there, you can do something like HttpContext.CurrentUser.Identity.UserName...(that may not be exact, but it will get you close).

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