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

New Post: Getting additional profile fields that are synced with AD

$
0
0
Marc


Thanks for your explanation. The userdisp.aspx seem to be a fixed set of properties for those users who as you say have "touched" the site collection. Assuming, I can't add my custom AD property "Company" to this page then I am left with some options I need to explore on my test SP2010 server in order to extract the company name stored as custom user profile property and synced with AD.
$().SPServices({
  operation: "GetUserProfileByName",
  async: false,
  AccountName: "Mydomain\\Dantheman",
  completefunc: function (xData, Status) {
    company = getUPValue(xData.responseXML, "Company");
    
   }
});
or maybe this


[http://aymkdn.github.io/SharepointPlus/symbols/%24SP%28%29.html#.people](SP.People function)

Any thoughts before I try both out.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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