Pnpjs: how to get "the presence" of a user by pnpjs API?

Created on 10 Sep 2018  路  2Comments  路  Source: pnp/pnpjs

Category

  • [ ] Enhancement
  • [ ] Bug
  • [x] Question
  • [ ] Documentation gap/issue

How to get "the presence" of a user by pnpjs API? I'm using PeoplePicker component from office-ui-fabric-react package and would like to set its presence flag (PersonaPresence enum)

thanks in advance

documentation answered question

All 2 comments

As far as I know you cannot get the "presence" of the user from SharePoint.
If you wan't to have a look at an React SPFx example where they utilize the status from Skype, here it is:
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-skype-status/src/webparts/skypePresenceReact

/Simon

Thanks @simonagren this is correct.

Was this page helpful?
0 / 5 - 0 ratings