checkrole(roleid,userid) function

checkrole(roleid,userid) function

  
I'm stuck here maybe someone can help me.
I was not able to use the function checkrole inside a query.
How can I introduce the roleId in the field?
Keep on getting this error saying that there is no such object roles...
 
Hi

Use a query input parameter, and assign it the CheckRole(Roles.Administrator) expression, and then use the input parameter in the query condition instead.

Cheers

Miguel Simões João