donderdag 10 juli 2008

MOSS and editing user profiles!

What is the problem?

When you go to to my settings in MOSS you see your profile details but when you click on edit you only see your account.
MySettings userdisp page:

MySetting useredit Page:

What is the cause of this problem?
When i searched on the web for this problem i came accross this thread:
Rachel gave a good idea on why this problem occors she said:

"There are actually 2 user profiles - one is a WSS profile and one is a MOSS profile. The WSS profile you access from Welcome user > My Settings page. The MOSS profiles are created when users are imported into the system from AD or LDAP. They are access from People Search or from a link off of your MySite.

The reason there are 2 is that you can install WSS without MOSS and they wanted a basic user profile. If you installed WSS without MOSS, you would see the profile (again, accessed through Welcome user > My Settings page) with about 3 properties.

If you install MOSS, do an import, and go to the WSS profile, you'll see a bunch of properties added that MOSS adds. We now depricate the WSS profile. If you want to add property values to your profile, you need to go to your MOSS profile from your MySite (MySite > Details). You'll be on the editprofile.aspx page. Add your properties. We then sync your properties to the WSS user list. You will see the values show up on the WSS profile after the sync happens."

So i thought do i really need to use MySite some off our customers mayb don't want to use it and then this means they can't edit user info.

But when i read what what rrdp said about that you can come in the editing page by directly going to editprofile.aspx.
So what is the solution?
The solution is simpler then you think go to the layouts map and copy your useredit.aspx page as a backup.
then go to editprofile.aspx and copy the content of it. Open your useredit.aspx and past the content you just copied into the file save it. And your done!
now when you click on edit you see this page:

Keep in mind to put the correct settings for this fields in the SharedService provider because it will overwrite field values when SSP imports the user profiles if you dont change the settings.