you have to add so called Multiselection Lists to your EndUser window and set the corresponding Linking Business Object in the properties of the Multiselection List.
- Open Window Manager and open your EndUser window.
- Select the Multiselection List Box in the Controls section and add it to the window.
- Select the Linking Business Object e.g. Roles, Groups or UserConfigItem in the properties of the List.
- Save the window.
Since the Multiselection Lists have no label like other attributes, I personally prefer to place it in a separate GroupBox. See screenshot for example.
Now you can add and delete groups, roles or ConfigItems to and from your EndUser. This also works for any other user type.
What you have shown is already present on the window I guess.
How do I add the same if I am designing a new window??
Thank you very much
I got my problem solved.
Just another query, can I change 'User Type' i.e. 'End User', 'Analyst' etc. from window directly?
there are some hidden actions behind the "Change Usertype" in the right click menu, so I'd absolutely do not recommend to implement the manual action on a window.
Although I've seen it being implemented using multiple SQL triggers. But it is really difficult and you have to amend the SQL triggers manually every time something changes in that action.
Can you please help me on that?
Because doing this manually through a window will save hell lot of time for me.
Unfortunately I cannot give you a solution, because I haven't got a ready to use solution.
But if you want to find out what ServiceDesk is doing when clicking on Change User Type, you can use the SQL Profiler. You need to set it up to listen to all SQL queries on your DB (I'd strongly recommend to use a test environment!) and then fire the Change User Type action in both directions, Analyst to EndUser, EndUser to Analyst and any other conversions you will need.
Then analyze the results and you should see what ServiceDesk is doing to switch the user type. Now you will be able to write some trigger or stored procedures to suite your needs.
Bear in mind, that this solution will most certainly not be supported by Ivanti!