Share via


UserProfileService Class

This class is reserved for internal use and is not intended to be used directly from your code. Use the UserProfileService Web service instead.

Inheritance Hierarchy

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.Office.Server.UserProfiles.UserProfileService

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<WebServiceAttribute(Namespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",  _
    Description := "User Profile Service")> _
<WebServiceBindingAttribute(ConformsTo := WsiProfiles.BasicProfile1_1)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class UserProfileService _
    Inherits WebService
'Usage
Dim instance As UserProfileService
[WebServiceAttribute(Namespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
    Description = "User Profile Service")]
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class UserProfileService : WebService

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

Microsoft.Office.Server.UserProfiles Namespace