Skip to main content
1-Visitor
Aug 16, 2016 12:39 PM UTC
Question

How to login using different credentials in CREO integrated with Windchill?

I need to login with multiple users to reproduce issue;how do i do it without closing Creo every single time?

6 replies

23-Emerald III
Aug 16, 2016 1:51 PM UTC

You can't.

Logging in and out of Windchill has been a request since at least Windchill 5 and maybe even Windchill 1!

Translate
13-Aquamarine
Aug 16, 2016 6:22 PM UTC

If you're using basic authentication, then there is no way to log out. This is a limitation of HTTP Basic Authentication.

However, as of 10.1, Windchill also supports form based authentication. If you configure Windchill for form based authentication, then you have the ability to log out of Windchill. See CS34749 for more information.

Translate
1-Visitor
Aug 16, 2016 9:54 PM UTC

This is possible, but CREO cache could be corrupted without local distinct cache folders per user id.  The issue resorts from the user ID being hard coded in several spot in local cache.

I also know the browser used underneath can add additional querks to this.  For example to have more then one active session for Internet Explorer, you have to be able to use File->New Session vs. New Tab or New Window.  This behavior is tied to running standalone IE browsers, but also if running standalone concurrently, Windows' systems will bind session concurrently unless New Session used.

Translate
TomU
23-Emerald IV
Aug 16, 2016 2:10 PM UTC

You could configure multiple sessions of Creo, each with their own cache.  This should allow you to run multiple sessions as different users simultaneously.

Translate
1-Visitor
Sep 6, 2016 11:51 PM UTC

Hi Tom,

Can you elaborate this please.?

Translate
TomU
23-Emerald IV
Sep 7, 2016 12:29 PM UTC

You need to set the environment variable PTC_WF_ROOT equal to the cache location for each unique user.  There are a bunch of different way to do this but probably the easiest is to either duplicate the PSF file or duplicate the batch file and then set a unique value in each.  For example:

Double PSF Files

parametric.psf

// USER - PSF

// Add User specific environment or run applications below here

ENV=PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache1

parametric2.psf

// USER - PSF

// Add User specific environment or run applications below here

ENV=PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache2

Double Batch Files

parametric.bat

@echo off

SET PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache1

"C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.exe" "C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.psf" %*

parametric2.bat

@echo off

SET PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache2

"C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.exe" "C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.psf" %*

Translate