Get Annex Details from persons object

I am using a C sharp project in Visual Studio 2017. What SDK function or class can I use to get info from the annex tab of the object.

Platform SDK for .Net

Use the Platform SDK for .Net.

To simplify things I would recommend that you use the COM Application Block, there is a sample provided with the PSDK that shows you how to use the COM Application Block and the code you need to get the Annex of a Person is below:


                CfgPersonQuery q = new CfgPersonQuery();
                q.UserName = "Monique"; 
                CfgPerson person = confService.RetrieveObject<CfgPerson>(q);
                if (person != null)
                {
                    KeyValueCollection annex = person.UserProperties;
                }
                

Thanks