javascript - getting currently logged in user from sharepoint hosted angular app -
i'm trying figure out how @ least logged in sharepoint user's id within sharepoint-hosted angular sharepoint app. i'm unable call libraries outside of angular , value , apply angular model. know how this?
the _spcontextinfo null when using $windows service or when try using code
and cannot figure out how call spservices like
var thisusersvalues = $().spservices.spgetcurrentuser({ fieldnames: ["id", "name", "sip address"], debug: false }); https://spservices.codeplex.com/wikipage?title=$().spservices.spgetcurrentuser&referringtitle=documentation
what need in angular call code work in regular javascript?
getting sharepoint logged in user without libraries little tough. ideally, want use jquery , spservices.js , relatively straight forward. however, since don't want use 3rd party library, suggest calling 1 of sharepoints built in web services via javascript.
Comments
Post a Comment