cancel
Showing results for 
Search instead for 
Did you mean: 

LOGON_USER

Former Member
0 Kudos

Hi,

I'm making a simple .bsp to be run inside our intranet.

I need to catch the logon credentials of the user...

I need the NETWORK/USER information.

In .asp I can do this with

t=Request.ServerVariables("LOGON_USER")

This gets me NOREX/ma

Howto in bsp ?

(I can't use the sy-uname)

//Martin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi

good

go through these links, these might help you to solve your problem,

/people/siddhartha.jain/blog/2005/10/25/reading-netweaver-portal146s-logon-ticket-147mysapsso2148-cookie-in-bsp-applications

http://help.sap.com/saphelp_nw04s/helpdata/en/30/1b62799d786445a72ad85acb4fd55b/content.htm

thanks

mrutyun^

eddy_declercq
Active Contributor
0 Kudos

Hi,

Which logon credentials do you need outside the sy-uname?

Are you using other security mechanisms than the standard SAP one?

Eddy

PS.

Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.

Spread the wor(l)d!

Former Member
0 Kudos

Hi,

There has to be another way than using a VBSCRIPT.

There has to be someway in BSP to handle this.

My BSP is a TimeRegistration applikation.

There will be a autologin for all people. Same Username!

I'm making my own security handle...checking that NETWORK/USERNAME is in my security table.

//Martin

athavanraja
Active Contributor
0 Kudos

<i>There has to be another way than using a VBSCRIPT.</i>

Do you mean bsp runtime to provide this? i dont think so?

Kindly share it with us if you find another method

Regards

Raja

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>There has to be another way than using a VBSCRIPT.

Not really. BSP from a server side framework doesn't have specific logic to parse Windows NETWORK/USERNAME. Only the client side has access to this information. A few suggestions have been put forth. All of these require that this information be extacted and forwarded to the server from the client (even in the portal SSO2 cookie that is what is really happening).

You shouldn't expect to find any solution that allows the ABAP server side to directly extract this information.

athavanraja
Active Contributor
0 Kudos

you can use the following VBscript to get the network logged on user

<SCRIPT LANGUAGE="vbScript">

Dim X

set X = createobject("WSCRIPT.Network")

dim U

U=x.UserName

MsgBox "Logged In User is: " & U

</script>

Regards

Raja