Export (0) Print
Expand All

ChoiceTypes Enumeration

SharePoint 2007
Defines whether a user profile property uses a choice list and, if it does use a choice list, describes the type of support.

Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx

[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum ChoiceTypes

 Member nameDescription
ClosedThe property uses a choice list but users cannot edit the choices. The administrator is in full control of the choices for the property. 
NoneThe property is not using a choice list currently, but an administrator can turn on that feature in the future. 
OffThe property does not use a choice list. 
OpenThe property uses a choice list and users can add items to the choice list. 

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 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.

You access the Web Services Description Language (WSDL) for the User Profile Web service endpoint through UserProfileService.asmx?wsdl.

The following example shows the format of the URL to the User Profile Web service WSDL file.


If you do not have a custom site, you can use the following URL temporarily:


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



The name of the server on which Microsoft Office SharePoint Server 2007 is deployed.


A custom Office SharePoint Server 2007 site that the server administrator creates.


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

For more information about the WSDL format, see the World Wide Web Consortium (W3C) WSDL specification at http://www.w3.org/TR/wsdl.

Community Additions

© 2014 Microsoft