Get user data from office graph or from user profile service

%3CLINGO-SUB%20id%3D%22lingo-sub-216665%22%20slang%3D%22en-US%22%3EGet%20user%20data%20from%20office%20graph%20or%20from%20user%20profile%20service%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216665%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20need%20to%20write%20a%20web%20part%20in%20spfx%20to%20read%20user%20data%2C%20like%20department%2C%20name%2C%20%E2%80%A6.%3C%2FP%3E%3CP%3ENow%20I%20have%20an%20architecture%20question.%20Which%20is%20the%20better%20way%20(read%20the%20data%20from%20user%20profile%20service%20or%20from%20office%20graph)%3F%3C%2FP%3E%3CP%3EThe%20web%20part%20must%20be%20run%20in%20SharePoint%20online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-216665%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Contributor

Hello,

I need to write a web part in spfx to read user data, like department, name, ….

Now I have an architecture question. Which is the better way (read the data from user profile service or from office graph)?

The web part must be run in SharePoint online.

 

Regards

Stefan

0 Replies