Access User Role Record ID

Hi all,

I'm trying to access a user role record id to connect it to a specific object, going though the developer docs i found this:

"Custom fields added to the top-level Account object can be accessed using object notation on the `values` attribute (individual user role object fields are not accessible here)"

Does anybody know of a way to access the values within these individual user roles?

 

Thank you.

I would like to know as well. I think I gave up on this last year when i could never access anything but the top-level account data in javascript.