Share via


UserProfileService Class

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

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            websvcUserProfileService.UserProfileService

Namespace:  websvcUserProfileService
Assembly:  MOSSSOAP (in MOSSSOAP.dll)

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "UserProfileServiceSoap", Namespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService")> _
Public Class UserProfileService _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As UserProfileService
[WebServiceBindingAttribute(Name = "UserProfileServiceSoap", Namespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService")]
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

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.

See Also

Reference

UserProfileService Members

websvcUserProfileService Namespace