This function is used to determine if a script is currently being executed inside a manager AutoShell or a client AutoShell. The client AutoShell does not provide all the functionality of the manager AutoShell (for example, no remote execution). shellType() can be used to verify that a script is being executed inside the intended AutoShell version.
The function has the following syntax:
shellType()
The function returns a string indicating the type of AutoShell which is currently active:
Example
Verify AutoShell type and quit when running inside a client shell:
if(shellType()!="manager")
{
? "This script requires AutoShell manager!"
quit
}
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |