fetch team user details through scripting
Accepted answer
As far as I can tell, there is no such API. https://jazz.net/wiki/bin/view/Main/AttributeCustomization is explaining the whole API and you won't find anything there. Complex items only provide the ID (getValue) and the display name (getLabel).
See https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/ for where the current limits seem to be.