Get user name

Dear All,

I want to get the user name in my Flow who called this service.

How can I acheive it. Thanks for your help,

Ragards,
Faisal

Faisal,

I think one of the API methods mentioned in this related post on finding the name of the calling service may point you in the right direction.

Mark

Mark,

Thanks for your reply,

I found getCurrentUser() Method under

com.wm.app.b2b.server.InvokeState

Regards,
Faisal

Othere one is in com.wm.app.b2b.server.User

User user = Service.getUser();
String strUserName = user.getName();