Package com.aerospike.client.command

Examples of com.aerospike.client.command.AdminCommand.replaceRoles()


   * @param roles          role names.  Valid roles are listed in Role.cs
   * @throws AerospikeException  if command fails
   */
  public void ReplaceRoles(AdminPolicy policy, String user, List<String> roles) throws AerospikeException {
    AdminCommand command = new AdminCommand();
    command.replaceRoles(cluster, policy, user, roles);
  }

  /**
   * Retrieve roles for a given user.
   *
 
View Full Code Here


   * @param roles          role names.  Valid roles are listed in Role.cs
   * @throws AerospikeException  if command fails
   */
  public void ReplaceRoles(AdminPolicy policy, String user, List<String> roles) throws AerospikeException {
    AdminCommand command = new AdminCommand();
    command.replaceRoles(cluster, policy, user, roles);
  }

  /**
   * Retrieve roles for a given user.
   *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.