SetUserName
Description
Sets the current user name when searching for queries, charts, or reports.
You should call this method before attempting to get any information located in a user's Personal Queries folder. You must call this method before requesting user-specific items with the GetChartList, GetQueryList, or GetReportList methods.
Note: Users must have Super_User privileges
to call this method.
Syntax
VBScript
workspace.SetUserName
userName
Perl
$workspace->SetUserName
(userName);
- Identifier
- Description
- workspace
- The Workspace object obtained from the current session.
- userName
- A String containing the login ID of the user.
- Return value
- None.