UserProfileService Class

SharePoint 2007
Contains methods and properties used to call the UserProfileService Web service.

Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx

[DesignerCategoryAttribute("code")] 
[DebuggerStepThroughAttribute] 
[WebServiceBindingAttribute(Name="UserProfileServiceSoap", Web Service="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService")] 
[XmlIncludeAttribute(typeof(PropertyData[]))] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[XmlIncludeAttribute(typeof(ValueData[]))] 
public class UserProfileService : SoapHttpClientProtocol

The UserProfileService Web service provides a user profile interface for remote clients to read and create user profiles.

To use the UserProfileService Web service library, you must generate a proxy class in either Microsoft Visual C# or Microsoft Visual Basic through which you can call the various Web service methods.

The Web Services Description Language (WSDL) for the UserProfileService endpoint is accessed through UserProfileService.asmx?wsdl.

The following example shows the format of the URL to the UserProfileService WSDL file.

http://<server>/<customsite>/_vti_bin/UserProfileService.asmx

If you do not have a custom site, you can use the following URL:

http://<server>/_vti_bin/UserProfileService.asmx

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: