UserProfileService.GetPropertyChoiceList method

Gets all vocabulary terms in the choice list for a given property.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetPropertyChoiceList", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string[] GetPropertyChoiceList(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the property that has a choice list.

Return value

Type: []
An array that contains all vocabulary terms in the choice list for the specified property.

ExceptionCondition
SoapException

The property cannot be found, is not available to the Web service, or the choice list for the property is null .

This method returns all vocabulary terms in the choice list for the property specified by the propertyName parameter.

Show: