cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to assign/remove role from user using a service?

0 Kudos
717

Instead of going to MII menu -> search for user -> select user -> select tab "Assigned Roles" -> Modify -> Add|Remove -> ... -> Save

I would like to use an MII service. Is there any? If yes, what is the syntax for adding/removing a role?

View Entire Topic
agentry_src
Active Contributor
0 Kudos

Hi Tibor,

I thought that you had managed to create the queries to use those two services. I will go into more detail.

Create an XMLQuery. There should be an available Server named as XMLConnector for you to select and set Mode = XMLQuery. If you do not see the XMLConnector, then go to the MII Portal and check your Data Services - Data Servers to make sure XMLConnector is Enabled and showing a green check mark.

Go to the XML Query Details and paste the following into it:

/XMII/Illuminator?service=admin&mode=RoleList&Group=[Param.1]&Content-Type=text/xml

Add your MII ID (or a test user) to Parameter row 1. No quotes are necessary.

Give this a try. After doing a little research and testing, I still think ProfileEditor is the way to go, but it does not look like I either have permission or it has been decremented.

This same format should be used with all the services in that document.

Cheers, Mike