OK, now for the fun – Hello World with the web services and sample client! In this post we get a specific person. By specific, I mean we already know the person’s ObjectID. In many scenarios you do not know the ObjectID ahead of time, and we will cover how to handle these cases in later topics.
Below is the Topic11 method from the sample code. Please visit the Identity Management Extensibility samples site and download the code to follow along at home.
Recall that the Get operation is part of WS-Transfer protocol we described in Topic 5. Let’s walk through the lines of code:
That was it! The person object returned has all of the attributes you have permission to read. To get at the attributes, specify the attribute name in the person object’s indexer. Below we get the DisplayName of the person.
You now can get any object in ILM “2” provided you know its guid. In the next post we’ll show how to use the Transfer Extensions for Identity Management Operations when getting the same person.