MID - the modeling company Home Search Tcl Script Help Tcl Script Help Contact Support

MAPI Commands: Login and Logout


MAPI Commands: inom_Login

Purpose:

Log in to a model.

Synopsis:

inom_Login rep modeltype modelname username [password]

Arguments:
rep The name of the repository.
modeltype Model type (SASD, ERM, UML, BM, or MM).
modelname Model name.
username Login name.
password (optional) The password must be specified, if the user has one.
Result:

If successful, the user is logged in to the model. The login Id and the model Id are returned as a Tcl list.


MAPI Commands: inom_LoginRo

Purpose:

Log in to a model in readonly modus.

Synopsis:

inom_LoginRo rep modeltype modelname groupname [password]

Arguments:
rep The name of the repository.
modeltype Model type (SASD, ERM, UML, BM, or MM).
modelname Model name.
groupname User group name.
password (optional) The password must be specified, if the user has one.
Result:

If successful, the user is logged in to the model. The login Id and the model Id are returned as a Tcl list.


MAPI Commands: inom_Logout

Purpose:

Log out from a model.

Synopsis:

inom_Logout rep log

Arguments:
rep The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly.
log The user's login Id which is obtained as a result of applying inom_Login.
Result:

If successful, the user is logged out from the model. The elements locked by the user are unlocked.


MAPI Commands: inom_AdmLogin

Purpose:

Change to administrator mode.

Synopsis:

inom_AdmLogin rep log password

Arguments:
rep The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly.
log The user's login Id which is obtained as a result of applying inom_Login.
password Administrator password, if there is one.
Result:

If successful, the administrator mode is entered.

Note:

This command cannot be executed, if the user has logged in as ADMIN.


MAPI Commands: inom_AdmLogout

Purpose:

Exit administrator mode.

Synopsis:

inom_AdmLogout rep log

Arguments:
rep The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly.
log The users's login Id.
Result:

If successful, the administrator mode is left.