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.
[http://aymkdn.github.io/SharepointPlus/symbols/%24SP%28%29.html#.people](SP.People function)
Any thoughts before I try both out.
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.