TurboIntegrator
Server Sandbox Get
Returns the name of a user sandbox using an index
Cubewise · YouTube
Where it's used
TurboIntegrator
TM1 server version
Version 11 and 12
Syntax
How you write it
ServerSandboxGet(Index, UserName)
| Index | Index of the sandbox to have the name retrieved. The index is a contiguous number. If one sandbox is deleted, the following sandboxes will have their Index changed, that also means that the first iteration to return a blank value can be used to stop the iteration. |
| UserName | Optional parameter with a user’s name to check if the sandbox exists. If omitted, TM1 will check the user who is running the process. This parameter only works if an Admin, DataAdmin or the given user runs the process; if not, TM1 will return an error. |