Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Set Item Permissions plugin properties

The Set Item Permissions plugin sets the SharePoint item-level permissions for the current item being routed or another specified item. This plugin sets the permission set(s) for the given user on the given item.

NOTE: For site and list parameters, enter the site first, and then the list will be populated in the dropdown.

Value Pair

Description

copyfromparent

Copies permissions from parent before applying the specified changes.

filepath

The full path to a SharePoint file whose permissions should be changed. This argument should not be used with any other arguments, except for possibly copyfromparent.

folder

Sets the permissions on the folder.

itemid

The SharePoint item id whose permissions should be modified.

list

The name of the list in the site where the item resides whose permissions should be modified.

permission

The name of the permission set to assign to the user.

site

The URL of the site containing the item whose permissions should be changed.

username

The user whose permissions should be set.

NOTE: If site, list, and itemid are omitted, the permissions on the item being routed will be changed.

Example

  • username = [$CurrentUser.LoginName]
  • permission = Contribute

This will give the current user the Contribute permission on the current item being routed.