The Container object supports the AllPermissions property, which returns all the permissions that apply to the current UserName property of the Container or Document object, including permissions that are specific to the user as well as the permissions a user inherits from membership in groups. The AllPermissions property differs from the Permissions property in that it returns all permissions for an object, including group permissions.