cancel
Showing results for 
Search instead for 
Did you mean: 

Any possibility to do Auto login in Teamcenter Rich Client

Valued Contributor
Valued Contributor

Hi,

Is there any possibility to do login automatically in Teamcenter rich client by passing the user name and password through batch or other sources.

 

For example in NX, To launch the Teamcenter integrated NX I can pass the user name and password to make auto login.

call %UGII_ROOT_DIR%\ugraf.exe -pim:yes -u=user -p=P@ssword
Selvaraj C
CAD Automation Engineer
NX 9 | NX 11 | Teamcenter 10
8 REPLIES

Re: Any possibility to do Auto login in Teamcenter Rich Client

Siemens Phenom Siemens Phenom
Siemens Phenom
-Dautologin.user=<user> and -Dautologin.pass=<password> as JVM parameters

Re: Any possibility to do Auto login in Teamcenter Rich Client

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hello, where do we enter this line?

 

Dautologin.user=<user> and -Dautologin.pass=<password> as JVM parameters

Re: Any possibility to do Auto login in Teamcenter Rich Client

Valued Contributor
Valued Contributor

Hi,

You have to supply as input argument for teamcenter.exe in portal.bat. Both arguments must be pass as vmargs.

 

:: example script. 
start Teamcenter.exe %* -vm "%JRE_HOME%\bin\javaw.exe" -vmargs -Dautologin.user=<user> -Dautologin.pass=<password>
Selvaraj C
CAD Automation Engineer
NX 9 | NX 11 | Teamcenter 10

Re: Any possibility to do Auto login in Teamcenter Rich Client

Experimenter
Experimenter

How to specify the server to use for autologin if multiple ones are available?

Re: Any possibility to do Auto login in Teamcenter Rich Client

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
You don't login to a server, you login to a Teamcenter environment. I guess I don't understand your question?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Any possibility to do Auto login in Teamcenter Rich Client

Experimenter
Experimenter

server := Teamcenter server := Teamcenter server environment

Re: Any possibility to do Auto login in Teamcenter Rich Client

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Also can we specify the membership group, default role and the revision rule as well?

Re: Any possibility to do Auto login in Teamcenter Rich Client

Genius
Genius
As I noticed on GTAC - autologin capability assume that user_id and pass are equals wih OS user and OS pass.
There are no possibility to use autologin with TC credentials only like a running NX with -pim=yes -u -p -g