UserProfileChangeService.GetUserCurrentChangeToken method

Gets a change token that identifies the most recent user profile change entry for the specified user.

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

Syntax

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

returnValue = instance.GetUserCurrentChangeToken(userAccountName)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService/GetUserCurrentChangeToken", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileChangeService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string GetUserCurrentChangeToken(
    string userAccountName
)

Parameters

  • userAccountName
    Type: System.String

    The account name of the user’s profile.

Return value

Type: System.String
A change token that identifies the most recent user profile change entry for the specified user.

Exceptions

Exception Condition
ArgumentNullException

userAccountName is null .

Remarks

This method returns a change token that identifies the most recent user profile change for the specified user.

See also

Reference

UserProfileChangeService class

UserProfileChangeService members

WebSvcUserProfileChangeService namespace