Two PowerShell code snippets for getting a list of SharePoint users in a website. Just supply the absolute URL of the site collection. The second script also checks and prints out the users’ permissions on a specified SharePoint list.
Permissions
Two Useful Restrictions To Place On Non-Admin WordPress Accounts
Code snippets to restrict authors and contributors of multi-author WordPress websites. The first piece of code prevents them from seeing content assigned to other users. The second ensures that users can only see post counts of their own content.
Two Ways To Allow Contributors To Upload Images In WordPress
Do you have guest writers on your WordPress site? If so, they’re most likely set to the contributor role. The problem with the default contributor role however, is that it does not allow the contributors to upload images or any other kind of media. This means they would have to write text only articles or contact you first if they must use images. This article discusses two ways you can get around this limitation without needing to promote the contributors to higher privileges.