Partilhar via


AddListItemPermissionsActivity Class

Defines a workflow activity that is used to add the specified role permissions to the item in the list for the specified users.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.SharePoint.WorkflowActions.WaitForDocumentUnlockActivity
        Microsoft.SharePoint.WorkflowActions.WithKey.AddListItemPermissionsActivity

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

Syntax

'Declaration
<PersistOnCloseAttribute> _
<ActivityValidatorAttribute(GetType(AddListItemPermissionsActivityValidator))> _
Public Class AddListItemPermissionsActivity _
    Inherits WaitForDocumentUnlockActivity
'Usage
Dim instance As AddListItemPermissionsActivity
[PersistOnCloseAttribute]
[ActivityValidatorAttribute(typeof(AddListItemPermissionsActivityValidator))]
public class AddListItemPermissionsActivity : WaitForDocumentUnlockActivity

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AddListItemPermissionsActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace