Giter Site home page Giter Site logo

Comments (5)

rgregg avatar rgregg commented on September 13, 2024

That looks like a remnant of old code that hung around. There aren't any calls that return that type. I'll remove it in the next check-in.

from onedrive-explorer-win.

WeidongShen avatar WeidongShen commented on September 13, 2024

Thank you very much for the quick reply.

After a user successfully signs in, the first call is usually to get user profile. If ODUserProfile is old code, what is the right call to get user profile information including the email address?

from onedrive-explorer-win.

rgregg avatar rgregg commented on September 13, 2024

There isn't a way to do that through the OneDrive API. You can query the user's drive to get basic information like their display name. To get information like their e-mail address, you need to query the user's profile, which is available through Live SDK.

from onedrive-explorer-win.

WeidongShen avatar WeidongShen commented on September 13, 2024

Just need some clarification on this: Is querying user profile with e-mail address out of scope for OneDrive API and we should only get that functionality through Live SDK. Or, this will be added into OneDrive API in a future release? Thanks!

from onedrive-explorer-win.

rgregg avatar rgregg commented on September 13, 2024

That's just a "for now" thing. We'll have a better story for looking up profile information in the future.

from onedrive-explorer-win.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.