Tuesday, August 20, 2013

Remove an user from item level permissions using JSON.

To delete a user from item level permissions using JSOM , use the following code.

var oUser= clientContext.get_web().ensureUser('your name@yourcompany.com');
oListItem.get_roleAssignments().getByPrincipal(oUser).deleteObject(); // oListItem- List item reference.


Happy coding !!!

Wednesday, August 7, 2013

All In One Script Framework

All in one script framework has many sample power shell scripts for automation which are scenario focused. It has sample scripts for Office, Office 365, SharePoint, SQL Server, Exchange and Lync.

Please visit the site , you can request for scripts, provide feedback as well.