Finding User login ID

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Prab_kar@hotmail.com

    Finding User login ID

    Hello all,
    I'm new to Javascript.

    I'm trying to make some changes to the Javascript portion of our
    corporate intranet site and I'm trying to find if theres a way to find
    the User's login id from a Javascript function?

    If not, is there a way to run a 'echo %USERNAME%' from DOS command
    window and obtain the output. I realize there's an inherent security
    risk if Javascript were to allow that.

    Am I barking on a completely wrong tree, is NTLM authentication what I
    should be looking at?

    Basically, I need to get the user id without the user having to supply
    it on the page manually. Can this be automated?
    Thanks for your time,
    Prabh

  • Steve van Dongen

    #2
    Re: Finding User login ID

    Prab_kar@hotmai l.com wrote:
    [color=blue]
    >Hello all,
    >I'm new to Javascript.
    >
    >I'm trying to make some changes to the Javascript portion of our
    >corporate intranet site and I'm trying to find if theres a way to find
    >the User's login id from a Javascript function?
    >
    >If not, is there a way to run a 'echo %USERNAME%' from DOS command
    >window and obtain the output. I realize there's an inherent security
    >risk if Javascript were to allow that.
    >
    >Am I barking on a completely wrong tree, is NTLM authentication what I
    >should be looking at?
    >
    >Basically, I need to get the user id without the user having to supply
    >it on the page manually. Can this be automated?
    >Thanks for your time,
    >Prabh[/color]



    Regards,
    Steve

    Comment

    • Prab_kar@hotmail.com

      #3
      Re: Finding User login ID

      Thanks a lot for your reply, Steve.
      Unfortunately, I'm not in a position to use ASP and my browser falls
      into the high security category.
      Any idea if the NTLM authentication is a good fit?
      Thanks for your time,
      Prabh

      Comment

      Working...