cancel
Showing results for 
Search instead for 
Did you mean: 

Java code to get a current XIUSER while mapping ?

former_member189387
Active Contributor
0 Kudos

Hi friends ,

Can u please tell me

<b> how to get the current XIUSER using java code while i am designing the Mapping part ?</b>

import statments do we need ?

While i am doing mapping part i need to get the current XIUSER and map to another field . How can i handle this ?

Best Regards.,

V.Rangarajan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajan,

Why do u want to get the current user? Most of the time it will be the service user.

Which adapter is used in your case to send data to XI ?

I believe depending on the adapter you need to write the code...

Regards,

Sumit

former_member189387
Active Contributor
0 Kudos

Hi ,

I am using JDBC Sender Adapter .The data received by RFC Receiver Adapter .

Regards .,

V.Rangarajan

Former Member
0 Kudos

Rajan,

As far as my knowledge goes when you run the interface it runs with the service user XIAFUSER or PIAFUSER. So you will not get the your userid.

---Satish

justin_santhanam
Active Contributor
0 Kudos

Rajan,

Please have a look at the below thread. Our guys has did it for sender Soap adapter, I knew its not related to you, but its worth reading it.

Best regards,

raj.

Answers (0)