I need to grant a Specific Role to a Group of users in 155 Products already existing.
Anyone tried a programmatic way of doing such? or LoadFiles, Script?
First thanks to Prathap for his help on this.
You will find attached my code sample if it can be of any help.
I am still having problem with the Role wt.project.Role.GUEST which seems to behave differently from the Custom role we have added into our team.
I guest I can manage 288 product updates manually....
I'm trying to add a user to a role using your code and I'm getting this error in MethodServer:
wt.util.WTRuntimeException: ERROR: Can't initialize an ObjectReference to null
Library, role and user exist so I don't know what could be happening.