cancel
Showing results for 
Search instead for 
Did you mean: 

check if a user has a specific role

matthias_prller
Participant
0 Kudos

Hello,

Is it possible to check if a user has a specific role in MII 12.0?

For example if the user has the role "xmii Developers" I would do something more in a transaction than if the user doesn't have this role.

Thank you for your help.

Regards,

Matthias

View Entire Topic
abesh
Contributor
0 Kudos

Hello Matthias,

Does this blog of mine help you ?

[SAP MII : Role based access to content|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9253] [original link is broken] [original link is broken] [original link is broken];

Best

Abesh

abesh
Contributor
0 Kudos

To clarify my last post a little more...

1) You should have set AutoBind to True for the XacuteConnector.

2) Your Transaction should have an Input parameter called IllumLoginRoles.

Note that this parameter would be automatically populated by MII at runtime and would not have values if you execute it through the workbench.

matthias_prller
Participant
0 Kudos

Hello,

I use IllumLoginName very often but didn't know the IllumLoginRoles. This solved my Problem.

Thank you.

Regards

Matthias