com.vmware.vim25.mo
Class HostLocalAccountManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.HostLocalAccountManager
public class HostLocalAccountManager
- extends ManagedObject
The managed object class corresponding to the one defined in VI SDK API reference.
- Author:
- Steve JIN (sjin@vmware.com)
| Methods inherited from class com.vmware.vim25.mo.ManagedObject |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues |
HostLocalAccountManager
public HostLocalAccountManager(ServerConnection serverConnection,
ManagedObjectReference mor)
assignUserToGroup
public void assignUserToGroup(String user,
String group)
throws AlreadyExists,
UserNotFound,
RuntimeFault,
RemoteException
- Throws:
AlreadyExists
UserNotFound
RuntimeFault
RemoteException
createGroup
public void createGroup(HostAccountSpec group)
throws AlreadyExists,
RuntimeFault,
RemoteException
- Throws:
AlreadyExists
RuntimeFault
RemoteException
createUser
public void createUser(HostAccountSpec user)
throws AlreadyExists,
RuntimeFault,
RemoteException
- Throws:
AlreadyExists
RuntimeFault
RemoteException
removeGroup
public void removeGroup(String groupName)
throws UserNotFound,
RuntimeFault,
RemoteException
- Throws:
UserNotFound
RuntimeFault
RemoteException
removeUser
public void removeUser(String userName)
throws UserNotFound,
RuntimeFault,
RemoteException
- Throws:
UserNotFound
RuntimeFault
RemoteException
unassignUserFromGroup
public void unassignUserFromGroup(String user,
String group)
throws UserNotFound,
RuntimeFault,
RemoteException
- Throws:
UserNotFound
RuntimeFault
RemoteException
updateUser
public void updateUser(HostAccountSpec user)
throws AlreadyExists,
UserNotFound,
RuntimeFault,
RemoteException
- Throws:
AlreadyExists
UserNotFound
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.