cancel
Showing results for 
Search instead for 
Did you mean: 

How get HWC registered user

Former Member
0 Kudos

Hi,

can i able to get the user name in custom js which user is registered with SUP.

Thanks,

Boopalan

Accepted Solutions (1)

Accepted Solutions (1)

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

What version of SUP are you using?  The following should work in SUP 2.1.x

Custom.js

customAfterWorkflowLoad() {

    alert("The current user name is: " + supUserName);

}

The following sample may also be of interest.

Credentials in a Mobile Workflow  https://cw.sdn.sap.com/cw/docs/DOC-149768

Answers (0)