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.
Technical Notes Of Ehi Kioya