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

WTGroup To Memebr Relation From windchill database table

KU_10670946
6-Contributor

WTGroup To Memebr Relation From windchill database table

Hi , I Am trying to get all the members related to each WTGroup  <Snap Below> from MembershipLink table but no luck.
Does anyone has any idea how to get this information from windchill database or this information is coming from LDAP?
I need only  Group "CAT Material Planner - Huntersville" has user "KER1232"

KU_10670946_0-1683235530695.png

As far as i tried to JOIN WTGroup , MembershipLink, WTUsers

 

 

 

 

 

 

2 REPLIES 2

Hi @KU_10670946 

 

Unfortunately the trouble is that the information can be sored in the LDAP not in the database. So you can not be success if so.

If the groups are managed in Windchill then there can be the link you are looking for. 

try this select.

If you are in Windchill 12 + the groups are managed in Windchill. I tried it now

 

select GR.name,users.name,* from WindchillDB.MembershipLink link
INNER JOIN  WindchillDB.WTUser users
ON users.idA2A2 = link.idA3B5 
inner join WindchillDB.WTGroup GR
on link.idA3A5 = GR.idA2A2
where GR.name='MYOWN'

 

 

 

 

 

 

PetrH

Top Tags