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)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChanges", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetChanges ( _
    changeToken As String, _
    changeQuery As UserProfileChangeQuery _
) As UserProfileChangeDataContainer
'Usage
Dim instance As UserProfileChangeService
Dim changeToken As String
Dim changeQuery As UserProfileChangeQuery
Dim returnValue As UserProfileChangeDataContainer

returnValue = instance.GetChanges(changeToken, _
    changeQuery)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetChanges", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", 
    ResponseNamespace = "https://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.

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.

Exceptions

Exception Condition
ChangeTokenTooEarlyException

changeToken precedes the earliest user profile change.

ArgumentException

changeQuery is not a UserProfileChangeQuery.

Remarks

This method sets the ChangeTokenStart property of the changeQuery parameter.

See also

Reference

UserProfileChangeService class

UserProfileChangeService members

WebSvcUserProfileChangeService namespace