yeah, the glide record is going into the sys_user_grmember table where all the group membership records are stored. Then the encoded query is returning all the records in that table where the group is the same as the current assignment group and the user is not the user you want to exclude.



Have a read through the below link, it's a good guide on how to write glide records.



How To Write GlideRecord Queries Like A Pro