Use getLocalUser in Query.