Export (0) Print
Expand All

UserProfileChangeService.GetUserChanges method

Gets changes made to the specified user’s profile that match the filter conditions defined by the specified change token and the specified change query.

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

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

Parameters

userAccountName
Type: System.String

The account name of the user’s profile.

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 specified user’s profile that match the filter conditions defined by the specified changeToken and changeQuery.

ExceptionCondition
ArgumentException

changeQuery is not a UserProfileChangeQuery.

ChangeTokenTooEarlyException

changeToken precedes the earliest user profile change.

ArgumentNullException

userAccountName is null .

UserNotFoundException

A user profile does not exist for the user name.

This method sets the ChangeTokenStart property of the changeQuery parameter to the value of the changeToken parameter and then returns all user profile change entries for the specified user that match the filter condition defined by the changeQuery, up to a limit of 1000.

Community Additions

ADD
Show:
© 2014 Microsoft