How to retrieve the principals from a product team role
We have our companies products set up in Windchill products. We now want our Change Management process to automatically assignan implementation plan activity to an assignee. These assignees are member of a Product (context)role.
I am able to create the implementation plan activities, but I can not seem to get to the principals in the context team roles.
Below is the code I am testing to retrieve te principals in the PRODUCT MANAGER role. I think the issue is in the team2 definition line. the rest of the code works accept for the fact that the enumeration pprincipals holds no principals. Anyone has an idea?