Quantcast
Channel: PTC Community : Discussion List - Windchill
Viewing all articles
Browse latest Browse all 5797

How to add user to the document team with the accsess refreshing?

$
0
0

Hi.

I add user to the document team like this:

WTDocument wtd = ...;

                              Team docTeam = (Team)(wtd.getTeamId()).getObject();

                              docTeam.addPrincipal(Role.toRole("ASSIGNEE"), as);

 

User added successfuly, but he don't have permissions for modifying this document. If add user on the same role by wizard everything is nice.

Maybe I should refresh something else?


Viewing all articles
Browse latest Browse all 5797

Trending Articles