Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Any possibility to do Auto login in Teamcenter Rich Client

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
Solution
Solution
Accepted by topic author Selvaraj
‎02-07-2017 08:02 AM

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

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

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

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

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

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

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

server := Teamcenter server := Teamcenter server environment

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

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

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