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.
Remarque : Users must have Super_User privileges
to call this method.
Syntaxe
VBScript
workspace.SetUserName userName
Perl
$workspace->SetUserName(userName);
- Identificateur
- Description
- workspace
- The Workspace object obtained from the current session.
- userName
- A String containing the login ID of the user.
- Return value
- Aucune.