DiscoverPermissionsForUser
Description
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.
Note: This method became available in
version 7.1.0.
Syntax
VBScript
folder.DiscoverPermissionsForUser userName
Perl
$folder->DiscoverPermissionsForUser(userName);
- Identifier
- Description
- folder
- A Folder object obtained from the current workspace.
- userName
- A String containing a user name.
- Return value
- Returns a Permissions object that lists all the permissions for the named user, starting at a certain folder and including all of its subfolders.