cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Switch wcadmin role to user account with Windchill Shell

ThreeBlindMice
12-Amethyst

Switch wcadmin role to user account with Windchill Shell

Version: Windchill 12.1

 

Use Case: We recently configured our Windchill to use SSO on our development server. One thing I overlooked was giving my user ID admin privileges, because we were so used to just logging in as the wcadmin in the browser to do our admin stuff. Now we don't have a way to login as wcadmin, I am looking for a way to give my user ID admin privileges, possibly through the windchill shell?


Description:

I tried just disabling Shibboleth, our SAML service provider, but the configuration runs too deep in our windchill install to get the web page up and running.

1 REPLY 1
Fadel
22-Sapphire I
(To:ThreeBlindMice)

Hi , 

 

If I undestood correctly you wan to assign your user ID to the Site Administrators groups via Shell ? 

If this is the case we can load XML file to assign a user to a group ,the hook is that commands needs a Site Admin credentials.

windchill wt.load.LoadFromFile -d <path to xml> -u <username> -p <password> 

 

<?xml version="1.0"  encoding="UTF-8"?>
<!DOCTYPE NmLoader SYSTEM "standardX20.dtd">
<NmLoader>
        <csvUserGroup handler="wt.load.LoadUser.createUserGroup">
                <csvuser></csvuser>
                <csvgroupName>Administrators</csvgroupName>
                <csvuserName>test_user</csvuserName>
        </csvUserGroup>
</NmLoader>

 

 

Fede
Announcements


Top Tags