How to get Role name using java API
I am adding a new Pre-condition for RTC plug-in development, and I want to list all role name in a list, but I only get IRole by API, and IRole only have ID and description field, but name field can not be found. how can I get the Role name by java api? Please help me. Thanks!!
|
Accepted answer
I haven't tried this myself, but I can see another Class called IRole2 which is a direct subinterface.
Can you try to cast to this type instead? like: IRole2 role2 = (IRole2) irole1; /Cheers, M. silencehill wu selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.