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
| | Enumeration | Description |
|---|
.png) | ChoiceTypes | Defines whether a user profile property uses a choice list and, if it does use a choice list, describes the type of support. |
.png) | MembershipGroupType | Represents the types of the membership group. |
.png) | MembershipSource | Represents the source type of the membership. |
.png) | Privacy | Represents the privacy level, which you can set on user profile data. |