cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Full Username

Former Member
0 Kudos

Hey Guys,

i want to display the full username of the logged in user. There must be a way, because after starting the mi the user get displayed completely.

I tried this piece of code in all variations, but i somehow i cant get the full user name.

User me = UserManager.getInstance().getCurrentLogonUser();

if(me != null)

{

xmlContext.setUserName(me.getUniqueName());

}

How can i get the full name (first and lastname)

Best regards

Philipp

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Philipp,

By username do you mean the one that is displayed on the MI client home page? In this case, the user with which you are syncing should have the first name & last name defined in the middleware you are connecting to.

When you create the user in the middleware using transaction SU01, provide the firstname & lastname. When the same user performs the first synchronization, the user details are downloaded onto the client.

Regards,

Nameeta

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you very much