Returns a list of all the permissions for the named user, starting at a certain folder and including all of its subfolders. If the group name is empty, this method returns permissions for any group. The result is ordered from the current folder to the subfolders in a depth-first traversal order.
VBScript
folder.DiscoverPermissionsForUser userName
Perl
$folder->DiscoverPermissionsForUser(userName);