CSAnimor
CSAnimor

Reputation: 137

Get user logged on sharepoint online

I need to create notifications for every user who didn't read a specific new on the site. To do this i need to see who user is logged in the site and then save this info into a list on Sharepoint. The problem is that i don't know where can i get this info on Sharepoint Online.

Someone can help me whith this. Thanks

Upvotes: 1

Views: 63

Answers (1)

Sandun Isuru Niraj
Sandun Isuru Niraj

Reputation: 461

You can get the Current Login User Object with this endpoint.

/_api/web/currentuser

Upvotes: 1

Related Questions