Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Get Location information from SPServices

$
0
0
I can get many of the properties of user from SPServices but i cannot get location information.
<script src="/SiteAssets/jquery.min.js" type="text/javascript"></script><script src="/SiteAssets/jquery.SPServices-2013.02a.min.js" type="text/javascript"></script><script type="text/javascript">
$(document).ready(function() {

var thisUserID = $().SPServices.SPGetCurrentUser({
fieldName: "EMail",
debug: false
});
alert(thisUserID);

});
</script>

The above code gets me email of currently logged in user . I need location of that user but not from user profile, i need it from AD. UserInfo list may be helpful??

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>