Excel online, get user name

%3CLINGO-SUB%20id%3D%22lingo-sub-2190160%22%20slang%3D%22en-US%22%3EExcel%20online%2C%20get%20user%20name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2190160%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EWe%20are%20developing%20an%20excel%20online%20add-on%2C%20and%20I%20would%20like%20to%20know%20the%20user%20login%2Femail.%3C%2FP%3E%3CP%3EAlready%20found%2C%20that%20SSO%20can%20give%20us%20the%20user%20token%20in%20the%20case%20when%20the%20user%20is%20well%20registered%20in%20Microsoft.%3C%2FP%3E%3CP%3EBut%20we%20also%20would%20like%20to%20share%20the%20document%20with%20SharePoint%20simply%20by%20user%20email.%3C%2FP%3E%3CP%3EHow%20I%20can%20get%20known%20the%20user%20email%20in%20that%20case%20(from%20the%20addon%20code)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20and%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAndrew%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2190160%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hello,

We are developing an excel online add-on, and I would like to know the user login/email.

Already found, that SSO can give us the user token in the case when the user is well registered in Microsoft.

But we also would like to share the document with SharePoint simply by user email.

How I can get known the user email in that case (from the addon code)?

 

Thanks and Regards,

Andrew

0 Replies