avatar image
Former Member

get windows user in bsp


I want to get windows user in BSP , I used this source :

<%@page language="abap"%>

<%@extension name="htmlb" prefix="htmlb"%>

<input type="text" name="curruser" id="curruser" disabled="disabled" value="[UserName]">

<script language="javascript" type="text/javascript">

function getWindowsUserName()


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

var UserName = ( WinNetwork.UserName );

document.getElementById('curruser').value = UserName;




but new ActiveXObject dosen't work in bsp but in notebad and save html is it true.

are there any way to get windows user ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers

Skip to Content