2 thoughts on “PnP-JS-Core: Get all available properties of user from SharePoint

  1. bgmCoder Reply

    In my project, I am using an aspx page in my Site Pages library and pulling the .js files all from the Styles Gallery document library. For some reason I cannot ever use
    $pnp.sp.web.lists … and always have to define
    var w = new $pnp.Web(baseurl);
    so as to do
    w.lists … instead.
    It seems like I can not run the scripts from the current context.
    And so I have that problem with profiles, except I don’t know what to do to define profiles as a new var…
    $pnp.sp.profiles.

    Any clue for me?

Leave a Reply

Your email address will not be published. Required fields are marked *