Share via


AddListItemPermissionsActivity.DoUpdate Method

Adds the specified permissions to the item in the list for the specified users.

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

Syntax

'Declaration
Protected Overrides Sub DoUpdate ( _
    provider As ActivityExecutionContext _
)
'Usage
Dim provider As ActivityExecutionContext

Me.DoUpdate(provider)
protected override void DoUpdate(
    ActivityExecutionContext provider
)

Parameters

Remarks

The workflow runtime calls this override to add the permissions specified by the Roles property to the item specified by the ListItem property in the list specified by the ListId property for the users specified by the Users property.

See Also

Reference

AddListItemPermissionsActivity Class

AddListItemPermissionsActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace