In our last post we created a new group. Now we’ll doing something truly exciting: We’ll add members to the group. Adding and removing members is the same Put request. The difference is we specify “Add” or “Remove” as the operation for each member. The sample client records values added and removed in code, and it computes the difference when constructing a Put request. You don’t have to track which users were added or removed.
In this example we will now add a user to the group created in the last post. The code:
That’s it! We have successfully updated an existing object in ILM, and more importantly, we added members to our group.
You now have the building blocks to recreate much of the ILM “2” portal’s functionality. You can list users, filter for users in a particular group, create objects, and add members to a group. I hope this initial tour has been useful and fruitful for you. Thank you for following along and providing useful feedback. We are ever excited to release ILM “2”. After the winter hiatus we will continue on with different extensibility scenarios in ILM “2”. Happy exploring!