UserProfileChangeService.GetChanges method

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

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

[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: WebSvcUserProfileChangeService.UserProfileChangeQuery

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

Return value

Type: WebSvcUserProfileChangeService.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: