$switchUserAdmin

Executes the specified statements as the administrator user of the current account.
Syntax
    $switchUserAdmin{statements}
DocumentationExecutes the specified statements as the administrator user of the current account:

    Parameters:
      statements, the statements to be executed by the administrator.
    Returns:
      whatever the return value of the executed statements is.
Examples
    $switchUserAdmin
      {
      $createUser{$getCurrent{Name}}{$getCurrent{Password}}
      $addToGroup{$getCurrent{Name}}{guests_group}{regulars_group}
      }

    Result:
    the superuser with its rights creates user, adds him to group "guests_group" and
    "regulars_group"
GroupSecurity
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATOR
Minimum parameters1
Maximum parameters 2