I'm pretty new with ucma 4.0 so i apologize if i post a silly question or if there is an obscure thread that talk about it and i didn't discover it.
I have to deliver an application that change the user presence of Lync's users. In the first attempt i use userEndpoint to do it and it work fine for one Lync user. I then switch to applicationEndpoint to avoid to specify the pwd of the users and then i got stuck. I read that i can impersonate an user but didn't find the code to do it. So far i generate an applicationEndpoint with its ownerUri but don't know how to pass to it the Lync's user uri.
I tried to adapt the sample from quickstart but TrustedConferenceParticipant use a Conversation object (i want to change presence) to pass the user and PublishAlwaysOnline build an "automaton" but i can't found where to pass the list of Lync's users .