Zoomed Image

AMSX Scripting Language - Command : SwitchUser

Summary

Switch the current execution context to a different user

Description

Changes the user context for subsequent commands to the specified user. Only users in the ADMINS or CONFIG group (or whose original group was ADMINS or CONFIG) may call this command. Raises an exception if permission is denied.

Parameters

ParameterDescription
cmdusername to switch to

Syntax


SwitchUser "username to switch to"

Return to the AMSX Command Reference