Share via


RoleAssignment.Update Method

Updates the role assignment object with changes that have been made to its 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 RoleAssignment

instance.Update()
[RemoteAttribute]
public void Update()

Exceptions

Exception Condition
InvalidOperationException

The parent securable object does not have unique permissions. Error code: -1.

UnauthorizedAccessException

The current user does not have sufficient permissions to manage permissions on the parent securable object. Error code: -2147024891.

See Also

Reference

RoleAssignment Class

RoleAssignment Members

Microsoft.SharePoint.Client Namespace