0 out of 1 rated this helpful - Rate this topic

CreateTaskWithContentType.SpecialPermissions Property

Gets or sets any special permissions that are associated with the new task list item.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
[ValidationOptionAttribute(ValidationOption.Optional)]
public HybridDictionary SpecialPermissions { get; set; }

Property Value

Type: System.Collections.Specialized.HybridDictionary
A list of special permissions that are associated with the newly created task list item.

Special permissions can be used to restrict permissions to a specified task list item.

This property is promoted through a DependencyPropertyproperty.

If you provide a list of special permissions to the CreateTaskWithContentType activity, it will override any other permissions that have been inherited by the task list. If you do not set this property, permissions will be inherited from the task list.

HybridDictionary myTaskPermissions = new HybridDictionary();myTaskPermissions.Add(taskProperties.AssignedTo, SPRoleType.Contributor);this.CreateTaskWithContentType.SpecialPermissions = myTaskPermissions;
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ