Skip to main content
1-Visitor
January 26, 2016
Solved

Login through CLI command

  • January 26, 2016
  • 1 reply
  • 2576 views

Good morning

I am just wondering if it is possible to login from CLI command? The reason I ask is I have to import data through PTC integrity and into a web based application so if I can login from client computer it can import data for anybody that is using the web application.

Thank you for the help

    Best answer by tketz

    Hey Muhammad,

    for every CLI Command you found some help with --? or in the CLI Reference Guide.

    you need that:

    si/im connect --hostname=HOST --port=PORT --user=USERNAME --password=PASSWORD

    1 reply

    1-Visitor
    January 28, 2016

    Hi,

    yes you can:

    si connect

    or

    im connect

    mkhan-21-VisitorAuthor
    1-Visitor
    January 28, 2016

    Thank you. I can see how can I use my password but is there anyway I can use a username as well. The reason for this is the program will be running on the web and each time user uses to run MKS need to connect.

    tketz1-VisitorAnswer
    1-Visitor
    January 28, 2016

    Hey Muhammad,

    for every CLI Command you found some help with --? or in the CLI Reference Guide.

    you need that:

    si/im connect --hostname=HOST --port=PORT --user=USERNAME --password=PASSWORD