GetPersonalFolderForUser

Description

Returns the Folder object that represents the Personal queries folder for the user specified by the userName argument. Requires the Security Administrator privilege when the username does not match the current user.

Note: You must call SetSession on the Workspace object before calling GetPersonalFolderForUser, if you have not created a Session object.

Syntax

VBScript


workspace.GetPersonalFolderForUser userName 

Perl


$workspace->GetPersonalFolderForUser(userName); 
Identifier
Description
workspace
The Workspace object obtained from the current session.
userName
A String containing a user name.
Return value
Returns the Folder object that represents the Personal queries folder for the specified user.