Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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 a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.