Custom Field SPGetCurrentUser Not Working

Sep 9, 2014 at 7:58 PM
We added a custom field Division to active directory. The sync from AD to User Profile Service is working correctly, as our MySites correctly show this custom Division field populated as it should be. Either the sync from User Profile Service to Sharepoint , somehow is not working, or _/layouts/15/userdisp.aspx is simply not reflecting the changes we are pushing (Which seems more likely), causing our SPGetCurrentUser call to get Division, to fail.

Does anyone perhaps have an idea of where we can go from here to fix this or figure out how to go about fixing this?
Coordinator
Sep 9, 2014 at 10:08 PM
collmayo:

The Division field won't be in the User Information List, which is what SPGetCurrentUser pulls from. Instead, you should call the UserProfileService.

M.