Query users and entities in network directory services.