on 09-05-2006 7:28 AM
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
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^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
>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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.