cancel
Showing results for 
Search instead for 
Did you mean: 

WD Abap - get system (windows) user

former_member193202
Participant
0 Kudos

hi folks,

is it possible to get the system user (e.g. windows user) when running a webdynpro abap application?

kind regards,

oliver

Accepted Solutions (0)

Answers (2)

Answers (2)

martinborda
Explorer
0 Kudos

How can I read that OSS ticket? I thought it was a note, but it refers to anything else .

thomas_szcs
Active Contributor
0 Kudos

Hi Martin,

The system only allows someone to access oss tickets of their own company. Heidi was referring to the oss ticket, Oliver had created.

Anyway, the response was that web browsers don't transmit the windows user name for security reasons. In general, the windows user name should not be trusted and should not be used for authentication purposes inside of a SAP system. Nonetheless, using Single Sign On, there might be a slim chance to develop something that connects a SAP user with a windows user.

Best regards,

Thomas

Former Member
0 Kudos

Hi,

do you mean the system user as in AS-ABAP system? Have you tried using the sy-uname system variable?

Regards, Heidi

former_member193202
Participant
0 Kudos

Hello Heidi,

no i mean the user of the operating system:

e.g.:

Running WD Abap appl. in intranet environment, base OS is Win XP so i wanna know the nt-user.

like in cl_gui_frontend_services the method get_user_name

how can we do that in a WD abap application

kind regards

oliver

Former Member
0 Kudos

Hi,

see OSS ticket 611460 with Uwe's answer ...

Regards, Heidi