简体   繁体   中英

Cannot resolve symbol 'UserProfileWebService'

I found this article on msdn: http://msdn.microsoft.com/en-us/library/ms550407.aspx , and I would like to use the code sample provided, but I can't seem to figure out how to resolve UserProfileWebService .

Does anybody know what reference do I need to add or is this some sort of SDK missing?

Also, is there any alternative to http://www.findjar.com when it comes to C#?

Any info is appreciated, thank you!

NOTE: I am a little bit of a sharepoint noob, so I might be missing some important data blocks in my head :( Also, I should point out that we are using Sharepoint 2010, VS2010, .net4.0 and Client Object Model to traverse it remotely.

The User Profile Service Web service namespace is an arbitrary name for a reference to the UserProfileService.asmx Web service in Microsoft Office SharePoint Server 2007. It is in the MOSSSOAP (in mosssoap.dll) assembly . The UserProfileWebService class resides in the websvcUserProfileService namespace.

You need to add a reference to the Microsoft.SharePoint.Client assembly and Microsoft.SharePoint.Client.Runtime assembly.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM