Click to Rate and Give Feedback
MSDN
MSDN Library
websvcUserProfileService Namespace

The User Profile Web service namespace is an arbitrary name for a reference to the UserProfileService.asmx Web service in Microsoft Office SharePoint Server 2007.

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 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 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 find out whether a property value was changed for a particular user profile property, you use the IsValueChanged property of the PropertyData class.

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

The following example shows the format of the URL to the User Profile 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
 ClassDescription
Public classContactDataRepresents a user profile contact, which contains information about the contact.
Public classGetUserProfileByIndexResultReturns a user profile and the location of the next user profile when the GetUserProfileByIndex(Int32) method of the UserProfileService Web service is called.
Public classInCommonDataRepresents the data that is common between two user profiles.
Public classMemberGroupDataA structure that represents a member group.
Public classMembershipDataProvides properties to retrieve and set information about a membership.
Public classPinnedLinkDataRepresents information about a pinned link.
Public classPropertyDataReturns name/value pairs when the GetUserProfileByName method and the GetUserProfileByGuid method of the UserProfileService class are called.
Public classPropertyInfoReturns data from the user profile schema when the GetUserProfileSchema method of the UserProfileService is called.
Public classQuickLinkDataRepresents information about a quick link.
Public classUserProfileServiceContains methods and properties used to call the UserProfileService Web service.
Public classValueDataRepresents the value of a property for a user profile.
 EnumerationDescription
Public enumerationChoiceTypesDefines whether a user profile property uses a choice list and, if it does use a choice list, describes the type of support.
Public enumerationMembershipGroupTypeRepresents the types of the membership group.
Public enumerationMembershipSourceRepresents the source type of the membership.
Public enumerationPrivacyRepresents the privacy level, which you can set on user profile data.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker