Get-KFPermission

Syntax

Get-KFPermission 
  [-Item <list-item>]
  [-ThrowErrors[:$true]]

Support

>= kenaflow 1.0.0

Return

List of principals and their permission sets on the list item.

Description

Use this cmdlet to read the permissions of the current list item or the list item specified with -Item.

The result object is a Hashtable of all principals (SharePoint users and SharePoint groups) that have permissions on the list item. For each principal the permission sets are returned.

Parameters

[-Item <list-item>]

The list item to be processed.

[-ThrowErrors[:$true]]

This is a default parameter for all kenaflow cmdlets. If set to $true (default!) the engine will pass exception within the cmdlet to the script for further handling.

Examples

Get-KFPermission