Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

PowerShell script to work on Document library items( item level Perminssions) in Sharepoint 2010

$
0
0

Hi all,

We have one document library say "XYZ".

We have written a .net code to add permissions(Item level) based on one of the value of column name(Industry_type) of "XYZ" Library.

For that  we break all permissions from parent and gave the full permissions to document uploader(Owner) and

Ex: If Column_value_Of_Item="HardWare" then give read pemissions to one domain group(lets say "Hardware_Group").

ID Name                   Industry_type         

1 Sample_document   Hardware

After some days issue are coming like who have uploaded the document is not able to modify or delete the documents(means owner have no Full permissions) and Site admin's have no full permissions.

I need powershell script to achieve:

  • check the item level permissions of each and every document,
  • have to check the owner have full permissions or not(if  no assign the full perminssions) and
  • check all the conditions( Assigning domain groups based on the condtion)

Can any help me on this requirement.


Jitendra.S


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>