/// <summary>
 /// Retrieve all users and their roles.
 /// </summary>
 /// <param name="policy">admin configuration parameters, pass in null for defaults</param>
 public List<User> QueryUsers(AdminPolicy policy)
 {
     AdminCommand.UserCommand command = new AdminCommand.UserCommand(100);
     return command.QueryUsers(cluster, policy);
 }
 /// <summary>
 /// Retrieve roles for a given user.
 /// </summary>
 /// <param name="policy">admin configuration parameters, pass in null for defaults</param>
 /// <param name="user">user name filter</param>
 public User QueryUser(AdminPolicy policy, string user)
 {
     AdminCommand.UserCommand command = new AdminCommand.UserCommand(1);
     return command.QueryUser(cluster, policy, user);
 }