Skip to Content
author's profile photo
Former Member

Determining Windows Username in an BSP Application?

Hello Experts-

Do you know of a technique by which I can find out the Windows username of the person that is using a BSP application on the Internet (or even an Intranet)?

In my BSP application I need to be able to find out the Windows login of the user that is using my BSP application on the web or within the corporate network.

Thank you,

- Vik.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on May 06, 2004 at 07:07 AM

    Hi Vik,

    in a former solution i had to solv the same problem.

    I solved the problem by developing an applet. The applet is certified ( you can create your own ). With a well customized cretification the applet is able to query system information of the underlaying operation system, for example the login account.

    For more information check at SUNs pages ( java.sun.com) .

    Hope that helps ....

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 06, 2004 at 07:29 PM

    Hi,

    Try using WScript.Network object in a javascript function and pass it to BSP. (Haven't tested it in Netscape)

    var WshNetwork = new ActiveXObject("WScript.Network");

    alert("User Name: " + WshNetwork.UserName);

    Regards,

    Venky Varadadesigan

    SAP NetWeaver consulting.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 08, 2004 at 10:21 PM

    there is an appropriate custom JSP tag (winlogon)

    in Coldtags suite. See http://www.servletsuite.com/jsp.htm

    Add comment
    10|10000 characters needed characters exceeded