UserProfileChangeService.GetChanges Method

Gets changes made to the user profiles using the specified change query and the specified change token.

Namespace:  [UserProfileChangeService Web service]
Web service reference: http://Site/_vti_bin/UserProfileChangeService.asmx

[SoapDocumentMethodAttribute("http://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChanges", RequestNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", 
	ResponseNamespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public UserProfileChangeDataContainer GetChanges(
	string changeToken,
	UserProfileChangeQuery changeQuery
)

Parameters

changeToken
Type: System.String

The starting location of the changes in the user profile change logs.

changeQuery
Type: [UserProfileChangeService Web service].UserProfileChangeQuery

A change query representing the requested change types and object types.

Return Value

Type: [UserProfileChangeService Web service].UserProfileChangeDataContainer
The changes made to the user profiles that match the filter defined by the specified change token and change query.

ExceptionCondition
ChangeTokenTooEarlyException

changeToken precedes the earliest user profile change.

ArgumentException

changeQuery is not a UserProfileChangeQuery.

This method sets the ChangeTokenStart property of the changeQuery parameter.

Show: