login_id#
- connect.login_id(p0: str) int #
Specifies a different user name to use on the computer where the server will run.
For auto connections the client will try to start the server on a remote computer using the ‘rsh’ command. If a user name is specified, it will be used as part of the rsh command. In lieu of the rsh command, a different command can be used as specified by the ‘-rsh command’ argument to the client.- Args:
- p0:
‘username’ login name
- Examples:
# log in to host slim as user 'joe' # WARNING: following line includes OBSOLETE call (ensight.connect.backend). ensight.connect.backend() ensight.connect.machine("slim") ensight.connect.login_id("joe") ensight.connect.executable(".server") ensight.connect.directory("") ensight.connect.type("auto") ensight.connect.connect()
- Returns:
zero on success, non-zero on error