Package com.aerospike.client.command

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


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

  /**
   * Remove roles from user's list of roles.
   *
 
View Full Code Here


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

  /**
   * Remove roles from user's list of roles.
   *
 
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.