Dim Filter As StringFilter = "[管辖部门] in ('" & user.Roles.replace(",", "','") & "') and [品牌] in ('" & user.Roles.replace(",", "','") & "')"
以上的根据角色的权限之间的关系决定是用 and 还是 or