Examples of HostPosixAccountSpec


Examples of com.vmware.vim25.HostPosixAccountSpec

      System.out.println("This sample works ONLY with ESX. "
          + "Please try it again.");
    }

    //create a new POSIX account
    HostPosixAccountSpec has = new HostPosixAccountSpec();
    has.setId("vimaster");
    has.setDescription("The POSIX account for VI Master");
    has.setPassword("password");
    has.setShellAccess(true);
    hlam.createUser(has);

    //create a new group called masters
    HostAccountSpec grpSpec = new HostAccountSpec();
    grpSpec.setId("masters");
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.