UserProfileChangeService.GetUserCurrentChangeToken Method
Gets a change token that identifies the most recent user profile change entry for the specified user.
Namespace: [UserProfileChangeService Web service]
Web service reference: http://Site/_vti_bin/UserProfileChangeService.asmx
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.StringThe 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