cancel
Showing results for 
Search instead for 
Did you mean: 

illumlogin and role info

Former Member
0 Kudos

Hi,

When we don't use applets in SAP MII 15.0, how to get user login and role information in irpt pages?

Regards,

Naga.

Accepted Solutions (1)

Accepted Solutions (1)

Private_Member_14935
Active Participant
0 Kudos

Hi Naga,

You can use the PropertyAcessService to read these information.

http://<host>:<port>/XMII/Illuminator?service=PropertyAccessService&mode=list&content-type=text/json

This will give a list of all the properties that can be read.

To read individual properties you could use the mode=retrieve and pass the propertyname as shown below:

http://<host>:<port>/XMII/Illuminator?service=PropertyAccessService&mode=retrieve&content-type=text/json&PropName=IllumLoginName

If you are already using UI5 objects like i5Chart, you could directly access the helper methods.

For e.g to read IllumLoginName you could use i5ChartObj.getUserName() and to read the roles you could use i5ChartObj.getUtilityObject().getLoggedInUserRoles()

Hope this helps.

Thanks and Best Regards,

Ria

Former Member
0 Kudos

Hi Ria,

Thank you. It worked.

Regards,

Naga.

Answers (1)

Answers (1)

saivellanki
Active Contributor
0 Kudos

Hi Naga,

PropertyAccessServlet will give you the total information:


<server>:<port>/XMII/PropertyAccessServlet?Mode=List

In the html /irpt:


<input type="text" id = "userId" style="display:none" value = {IllumLoginName}>

Regards,

Sai Vellanki.