I am writing a core solution for SharePoint 2013 und use CSOM. I have got a SharePoint list which contains a user element. In the list, the Lync/Skype for a business status of the user is displayed without problems.

Now I need the Lync status in my application. I get the SPUser object but did not find a property to get the Lync status from the user.

Is there a way to achieve this with CSOM?

  • Similar thread is here sharepoint.stackexchange.com/questions/108996/…
    – Naveen
    Jun 17, 2015 at 13:08
  • In this thread nowhere is mentioned how to get the lync status from a user Jun 17, 2015 at 13:11
  • string link = userField.GetFieldValueAsHtml(userLookup); will give you the required HTML i reckon.
    – Naveen
    Jun 17, 2015 at 13:12
  • I don't need html but a simple status in my program code like "Online/Away/Offline". This only gets me a html link. Jun 17, 2015 at 14:14


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.