I need help on how to log into the user’s system in the office code of the application. This is the Api JSOM office (JavaScript object model), which we use to obtain information from the MS Office product, for example, to read the contents of an MS Word document in which I use my application to save this content somewhere, for example, in a document library SharePoint as a word document file. Therefore, I need to know the current user information, such as logged id, etc., Therefore, I can determine who saved this document to SharePoint. Any pointers would be helpful.
source
share