Friday, April 2, 2010

Clicking user-name behavior inconsistent: shows userdisp.aspx OR person.aspx

Today I noticed that clicking on certain user-names takes me to their profile page (personal/person.aspx) while the simple _layouts/userdisp.aspx page was shown for remaining users. Why should SharePoint behave differently for the same action?

A quick look at 'User Profiles and Properties' page in the SSP Home revealed the reason. It happened so that all the users were not imported from AD. So for user profiles that were imported and diplayed on 'View User Profiles' page in SSP, clicking their name in SharePoint site displayed their profile page. And for the users who were not imported and hence not displayed on 'View User Profiles' page in SSP, clicking their name simply shows the _layouts/userdisp.aspx page.

Running a full-import for the user-profiles fixed the inconsistency and clicking on any users name now displays his/her profile page.

One of our customers requested to show only the simple _layouts/userdisp.aspx page instead of a full blown profile page for all users. To achieve this we just deleted all the imported profiles and disabled the import schedules.

No comments:

Post a Comment