SPRoleAssignment.Update method

Updates the role assignment object with changes that have been made to its properties.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Update
'Usage
Dim instance As SPRoleAssignment

instance.Update()
public void Update()

Exceptions

Exception Condition
ArgumentException

The ParentSecurableObject property is null .

Remarks

You can only call the Update method for an SPRoleAssignment object that is part of an SPRoleAssignmentCollection that in turn is bound to a Microsoft SharePoint Foundation object that implements the ISecurableObject interface (for example, SPWeb).

See also

Reference

SPRoleAssignment class

SPRoleAssignment members

Microsoft.SharePoint namespace