共用方式為


AddListItemPermissionsActivity.Roles Property

Gets or sets the list of roles that a specified user is part of.

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

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property Roles As ArrayList
    Get
    Set
'Usage
Dim instance As AddListItemPermissionsActivity
Dim value As ArrayList

value = instance.Roles

instance.Roles = value
[ValidationOptionAttribute(ValidationOption.Required)]
public ArrayList Roles { get; set; }

Property Value

Type: System.Collections.ArrayList
The list of roles.

See Also

Reference

AddListItemPermissionsActivity Class

AddListItemPermissionsActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace