Genesys CTI User Forum > Genesys-related Development

Get Annex Details from persons object

(1/1)

rcalleja:
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.

msd86911:
Platform SDK for .Net

PeteHoyle:
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:

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

rcalleja:
Thanks

Navigation

[0] Message Index

Go to full version