Skip to main content
1-Visitor
Jan 26, 2016 3:29 PM UTC
Solved

Login through CLI command

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

    tketzAnswer
    1-Visitor
    Jan 28, 2016 4:31 PM UTC

    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

    4 replies

    1-Visitor
    Jan 28, 2016 3:08 PM UTC

    Hi,

    yes you can:

    si connect

    or

    im connect

    Translate
    mkhan-21-VisitorAuthor
    1-Visitor
    Jan 28, 2016 3:45 PM UTC

    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.

    Translate
    tketz1-VisitorAnswer
    1-Visitor
    Jan 28, 2016 4:31 PM UTC

    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

    Translate