I am trying to develop a script that will obtain the permissions of a list/library detailing the assigned PermissionLevel(s) of a particular group or user. I have tried using both Get-SPSite and Get-SPWeb and drilled down to …lists.permissions, however it only presents me with the BasePermissions.
Does anyone know of a way to obtain this information using standard .Net methods, or will I have to create my own function to do this?
Many thanks in advance for your help.
Update: I found that using $list.RoleAssignments provides the information I’m looking for.