GetPermissionForUser

Description

Returns the one effective permission used to control access to the folder for a named user. This permission may or may not be applied to the folder itself. That is, the returned Permission object may be applied to a containing folder.

Note: This method became available in version 7.1.0.

Syntax

VBScript


folder.GetPermissionForUser userName

Perl


$folder->GetPermissionForUser(userName); 
Identifier
Description
folder
A Folder object obtained from the current workspace.
userName
A String containing a user name.
Return value
Returns a Permission object that represents the one effective permission used to control access to the folder for the named user.