Tag Info

Hot answers tagged


I guess you mean ADGuid property, if so then the following example demonstrates how to retrieve this property: function getUserProperies(loginName) { var deferred = $.Deferred(); var ctx = new SP.ClientContext.get_current(); var peopleManager = new SP.UserProfiles.PeopleManager(ctx); var properties = peopleManager.getPropertiesFor(loginName); ...


Considering that you have run a AD synchronization with your UPSA and that your AD connection rules include the OU of the user you are querying for, you should be able to retrieve the specific AD fields (in this case email) using JSOM. Check SP.Userprofiles (https://msdn.microsoft.com/en-us/library/office/jj920104.aspx) var userProfileProperties; // Ensure ...

Only top voted, non community-wiki answers of a minimum length are eligible