Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the user with changes that have been made to the user properties.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Sub Update
'Usage
Dim instance As User
instance.Update()
[RemoteAttribute]
public void Update()
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPDuplicateValuesFoundException] | Duplicate value was found for one or more user properties. Error code: -2130575169. |
[Microsoft.SharePoint.SPException] | User does not exist. Error code = -2130575338. |
[Microsoft.SharePoint.SPListDataValidationException] | Validation failed for a field in the corresponding user information list item. Error code = -2130575163. Validation failed for the corresponding user information list item. Error code = -2130575162. Validation failed for the corresponding user information list item or one of the user information list item fields. Error code = -2130575161. |
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |