开发者

Removing User Profiles via UserProfileService

开发者 https://www.devze.com 2023-03-07 05:56 出处:网络
I can\'t seem to find an asmx that has a \"Remove\" User Profile me开发者_运维问答thod...the UserProfileService has Create and Modify, but no Remove...where should I be

I can't seem to find an asmx that has a "Remove" User Profile me开发者_运维问答thod...the UserProfileService has Create and Modify, but no Remove...where should I be looking to programattically remove a user profile via an WSS WebService?

Please advise.


You appear to be correct: http://msdn.microsoft.com/en-us/library/websvcuserprofileservice.userprofileservice_methods.aspx You would however be able to do this from code that uses the server object model.


There is no out of the box web service to delete/remove profiles. We had to create a custom web service deployed to the 12/ISAPI folder (where the OOTB web services are), that took a username as a parameter and called the sharepoint API to then remove the profile.

0

精彩评论

暂无评论...
验证码 换一张
取 消