Adding users and claims to a site from PowerShell

Update: Astute readers will note that the following examples make use of the scratch custom claims provider. Recently, the question of automating custom claim assignments to SharePoint groups has come up. For example, if you’ve got a custom claim provider that provides a custom claim of type http://schemas.bryanporter.com/favoriteColor, how could you add all users that…

1

The Scratch Custom Claims Provider

Frequently, I find it useful to have a common starting point – what Raymond Chen describes as a “scratch program” (or a new scratch program, for those update-minded types). Within SharePoint, things are never that simple – a scratch SharePoint solution is an empty whiteboard, for better or for worse. There are plenty of extensibility…

0