1 UserGroupList UserGroupList; 2 ; 3 while select UserGroupList where UserGroupList.userId == curuserid() 4 { 5 info(UserGroupList.groupId); 6 }