Aš tai žemiau, o atnaujinti profilį per objekto modelį.
Atnaujinimai šiuo metu nesuteikiama už GET užklausų. Jei norite leisti atnaujinimus GET, nustatyti "AllowUnsafeUpdates’ turtas nuo SPWeb
Pridėti web.AllowUnsafeUpdate = true; išspręsti šią problemą.
grajits web.AllowUnsafeUpdates=true
Hello! When you have GET request and call BreakRoleInheritance, web.AllowUnsafeUpdates=true doesn’t help. I described it and a workaround in my blog http://dotnetfollower.com/wordpress/2011/03/sharepoint-updates-are-currently-disallowed-on-get-requests/
Great article, thanks for posting this post. I will be reading your blog as much as I can from now on! Appreciate it.