User can not edit his profile properties from my settings
-
2012년 5월 25일 금요일 오전 10:10
Requirement: List item approval through email.
I have following scenario :
- I have sharepoint standard 2010 stand alone installation. Installed on windows server 2008 R2 with sql server 2008 r2. Also updated CU till april 2012(with sp1).
- Not using AD(active directory).
- So as per my requirement i created approval workflow for item approval and assigned appropriate group for approval/reject.
- Now user from that group can be change email id from "My Setting" menu.
- But user can not able to edit the any value, After clicking the "Edit Item" it shows only Account name in read only mode.
- So we need to give permission to that user for edit the personal propertied from central management > application management > manage web application > select the required web application > configured the permission policy and user policy for that user.
- So now user can edit his personal properties.
- But no success.
- So again i checked the option "allow user to edit values for this property" from central management > application management > Manage service application > User profile service application > manage user propertied > select the "worked email" property and right click for edit.
- Again no success. WTF...
- but when i came to know that need to re run the some timer job for syncing the database, mostly timer job are User Full synchronization , profile property db etc....
- Again no success.
- But when i try to edit email of administrator account from central administrator, then it allow me for edit mode.
- And if i changed the email id from central administrator but it not syncing with all web application even after the re running the timer jobs.
- so i was guessing that the db was not syncing because of "User Profile Synchronization service" is stopped. which we can get from central management > application management > manage services on server.
- When i try to start it takes some time but not started.(is it because i am not using AD?).
- So avoid all the default service. i deleted the existing "User profile service application" with its content databases and re created User Profile Service Application with managed account (administrator which is also a farm account).
- again no success.
- Also Administrator is present in "allow log on locally" group. (secpol.msc)
- still facing issue.
Anyone can help me?
Thanks!
모든 응답
-
2012년 5월 28일 월요일 오후 2:09
If you are not using AD, how are users authenticating to SharePoint? Normally the account field is not editable because it comes from AD through authentication. You don't have to be syncing the profile service with AD for the account field to be populated. Changing that field orphans the user profile information from the authenticated account.
Can you clarify why you need authenticated users to be able to change their e-mail address?
One option is to store e-mail address in an AD attribute field and allow users to change that.
Doug Hemminger http://www.sharepointdoug.com
-
2012년 5월 29일 화요일 오전 3:58
'My Settings' is not the right place to update user information.
User information is stored in the SharePoint User Profiles. So in order to change your profile, you need to go to your profile page. It should be available from the user menu in the text 'My Profile | View and manage your profile'.
In the User Profile page, there should be a link to Edit Profile and user should be able to update his/her information.
Regards,
Chakkaradeep | http://twitter.com/chakkaradeep | http://www.chakkaradeep.com | http://blogs.msdn.com/b/chaks -
2012년 5월 29일 화요일 오전 8:07
Hi Doug Hemminger,
Thanks for your response.
The reason for allowing user to change their email id, for getting the item approval emails to participants users.
I authenticating user from windows users.
But i not getting the option as 'My Profile | View and manage your profile' menu from right side menu.
however to overcome the problem i used custom webpart for changing the logged user's email id and it immediately updated/sync the email id of that user. (powershell command: Set-SPUser "sharepoint\sagar.mantri" -Web "http://sharepoint" -Email "sagar.m.mantri@gmail.com").
But it would be better if we use sharepoint OOB feature.
And also Doug i know you very well, i am your blog reader. You one of the member of "My Hacks for the EUSP Hackathon".
Thanks.
-
2012년 5월 29일 화요일 오전 8:13
Hi Chakkaradeep Chandran,
Thanks for your response.
I authenticating user from windows users.
But i not getting the option as 'My Profile | View and manage your profile' menu from right side menu.
however to overcome the problem i used custom webpart for changing the logged user's email id and it immediately updated/sync the email id of that user. (powershell command: Set-SPUser "sharepoint\sagar.mantri" -Web "http://sharepoint" -Email "sagar.m.mantri@gmail.com").
But it would be better if we use sharepoint OOB feature.
-
2012년 5월 30일 수요일 오전 3:06
If you don't have the User Profile Service running properly you aren't going to be able to synchronize properties with Active Directory. I assume if you are "authenticating user from windows users" you have Active Directory running somewhere on your domain that is allowing users to authenticate to the site and store profile properties locally on the hidden user list. If you can't synchronize properties with your site, you aren't going to be able to synchronize anything back to Active Directory or store properties in the User Profile Database.
I am also assuming that you don't have MySites running.
So, I am guessing what is happening is that when you change a person's e-mail you are changing the site collection specific user profile. This means a couple of things...you have to jerryrig the system (as it sounds like you have done) to change some of the site collection specific properties (like e-mail address). And, if you do ever get the User Profile Synchronization running, it is going to overwrite what you have changed for those users.
I suggest that, in order to set this up properly, you configure the User Profile Service and Synchronize appropriately. You can use this as your bible for doing so: http://www.harbar.net/articles/sp2010ups.aspx
Doug Hemminger http://www.sharepointdoug.com
- 답변으로 표시됨 Rock Wang– MSFT 2012년 6월 1일 금요일 오전 8:49

