Show TOC

Procedure documentationGetting or Setting System Aliases Locate this document in the navigation structure

Procedure

This section describes how to get and how to set system aliases.

The examples below use mySystem, which is an ISystem object.

  • Get a system's aliases.

    Syntax Syntax

    1. String[] aliases = mySystem.getAliases();
    End of the code.
  • Add/remove an alias for a system.

    Syntax Syntax

    1. mySystem.addAlias("alias2");
    2.  
    3. mySystem.removeAlias("alias1");
    End of the code.
  • Set a system's default alias.

    Syntax Syntax

    1. mySystem.changeDefaultAlias ("alias2");
    End of the code.