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.

sharepoint web services


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -