I want to get a list of roles of a user in a sil script. No matter if i use userRoles("ABC","The Name") or userRoles("ABC","the.name@domain.com") - i always get an empty result. When i try userRoles("ABC","theAccountID") i get an exception:
Exception while executing SIL program '[inline source]': [SIL Error on line: x, column: y] null
When i try usersInRole("ABC","Service Desk Team") for example it works fine and i get the list of accountIDs including the one i was looking for. Any ideas?