How to extract the username from the header token?

Dear all,

Can anyone please help me to find a solution to my issues mentioned below?

1.How can I extract the username from the header token ?

2.The token returns the username with domain, for example I want to extract only Deepak from the username. How to do this?

I am very new to SoftwareAG Webmethods and I am asking sorry in advance for asking silly questions.


What product/components do you use and which version/fix level are you on?

Is your question related to the free trial, or to a production (customer) instance?

What are you trying to achieve? Please describe it in detail.

Do you get any error messages? Please provide a full error message screenshot and log file.

Have you installed all the latest fixes for the products and systems you are using?

Hi Deepak,
Can you please elaborate on what type of API you are using (REST or SOAP) and what type of token are you trying to interspect?


The API what I am using is odata. Can you please help me?


The token what i am getting is a JWT