Hello, thanks for your reply, that seems to work in Python although in javascript I do get an error when running the query. I only get the error when asking for the user attribute, without it it does return me a list of security roles but just with Ids
session.query('select name,user_security_role_projects.user from Project');
"No attribute u'user' exists for schema u'UserSecurityRoleProject'."