cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying Current Mobile User

Former Member
0 Kudos

Dear Mobile Experts,

I have a SAP NW Mobile 7.1 scenario where a Mobile Client can be used by more than 1 user though only 1 of them can synchronize.

Is there a way to identify the current mobile client user at runtime like sy-uname in ABAP?

Regards,

Robert

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Robert,

You can try with User.getCurrentUser().getUserId() or User.getCurrentUser().getLoginName() in your application.

Best Regards,

Simon

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Simon,

Thank you. That solved my problem.

Cheers,

Robert