Currently, one needing to obtain the current select role on Syracuse layer from L4G has to use this tip : https://communityhub.sage.com/us/sage_x3/b/sageerp_x3_product_support_blog/posts/how-to-query-mongodb-with-4gl-to-check-the-current-role
This could be great improvment to have this information directly available in ACTX context as any of the other Syracuse data (as seen in GESACTX function).
In our context, we collect this information frequently for pure specific purpose (we "code" some extra information within the role code) ; causing many web services cal whereas this information is almost static and could be computed only once at context change time.