This topic has not yet been rated - Rate this topic

WebSvcUserProfileService namespace

This documentation is preliminary and is subject to change.

The User Profile Service web service namespace is an arbitrary name for a reference to the UserProfileService.asmx web service in SharePoint Server 2013 Preview.

The UserProfileService class in the web service includes methods to manage user profiles. For example, to add a link to the My Links page on the My Site for the specified account name, you use the AddLink method of the UserProfileService class. To remove a colleague from the My Colleagues page for the specified account name, you use the RemoveColleague method.

You can also use the relevant properties of various classes in the User Profile Service web service namespace to get or set a particular property. For example, to get or set common memberships that two user profiles share, you use the Memberships property in the InCommonData class. To specify or determine whether a property value was changed for a particular user profile property, you use the IsValueChanged property of the PropertyData class.

The User Profile Service web service provides a user profile interface for remote clients to read and create user profiles. To use the User Profile Service 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 User Profile Service web service endpoint is accessed through UserProfileService.asmx?wsdl.

The following example shows the format of the URL to the User Profile Service web service 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

It is recommended that you create a custom site, and then use the URL that includes the custom site in the URL format.

The following table describes each element in the URL.

URL element

Description

server

The name of the server on which SharePoint Server 2013 Preview is deployed.

customsite

A custom SharePoint Server 2013 Preview site that the server administrator creates.

<endpointname>.asmx

The name of the web service endpoint. For the User Profile Service web service, it is UserProfileService.asmx.

For more information about the WSDL format, see the World Wide Web Consortium (W3C) WSDL Specification.

  ClassDescription
Public classContactDataRepresents a user profile contact that contains information about the contact.
Public classGetUserProfileByIndexResultRepresents information about a user profile.
Public classInCommonDataRepresents the colleagues, memberships, and manager data in common between two user profiles.
Public classLeader
Public classMemberGroupDataRepresents information about a member group.
Public classMembershipDataContains information about a membership.
Public classOrganizationProfileDataRepresents an organization.
Public classPinnedLinkDataRepresents information about a pinned link.
Public classPropertyDataContains user profile property information.
Public classPropertyInfoRepresents the information about a user profile property.
Public classQuickLinkDataRepresents the information about a quick link.
Public classSPTimeZoneRepresents the time zone setting that is implemented on a SharePoint Server website.
Public classUserProfileServiceProvides a Web service to manage user profiles.
Public classValueDataRepresents the value of a property for a user profile.
  EnumerationDescription
Public enumerationChoiceTypesDefines the type of choice list for a user profile property.
Public enumerationMembershipSourceRepresents the source of a member group involved in a particular membership.
Public enumerationPrivacyRepresents the privacy level that specifies the set of users who are allowed to access a protected resource.
Public enumerationSuggestionTypeSpecifies the type of suggestion.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.