UserProfileService Class
Contains methods and properties used to call the UserProfileService Web service.
Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx
Syntax
'Declaration
<DesignerCategoryAttribute("code")> _
<DebuggerStepThroughAttribute> _
<WebServiceBindingAttribute(Name:="UserProfileServiceSoap", Web Service:="https://microsoft.com/webservices/SharePointPortalServer/UserProfileService")> _
<XmlIncludeAttribute(GetType(PropertyData()))> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<XmlIncludeAttribute(GetType(ValueData()))> _
Public Class UserProfileService
Inherits SoapHttpClientProtocol
'Usage
Dim instance As UserProfileService
[DesignerCategoryAttribute("code")]
[DebuggerStepThroughAttribute]
[WebServiceBindingAttribute(Name="UserProfileServiceSoap", Web Service="https://microsoft.com/webservices/SharePointPortalServer/UserProfileService")]
[XmlIncludeAttribute(typeof(PropertyData[]))]
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[XmlIncludeAttribute(typeof(ValueData[]))]
public class UserProfileService : SoapHttpClientProtocol
Remarks
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
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
User Profile.UserProfileService
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.