Package com.vmware.vim25.mo
Class HostLocalAccountManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.HostLocalAccountManager
-
Constructor Summary
ConstructorsConstructorDescriptionHostLocalAccountManager(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionvoidassignUserToGroup(String user, String group) voidchangePassword(String user, String oldPassword, String newPassword) voidcreateGroup(HostAccountSpec group) voidcreateUser(HostAccountSpec user) voidremoveGroup(String groupName) voidremoveUser(String userName) voidunassignUserFromGroup(String user, String group) voidupdateUser(HostAccountSpec user) 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, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
HostLocalAccountManager
-
-
Method Details
-
assignUserToGroup
public void assignUserToGroup(String user, String group) throws AlreadyExists, UserNotFound, RuntimeFault, RemoteException -
changePassword
public void changePassword(String user, String oldPassword, String newPassword) throws InvalidLogin, RuntimeFault, RemoteException - Throws:
InvalidLoginRuntimeFaultRemoteException
-
createGroup
- Throws:
AlreadyExistsRuntimeFaultRemoteException
-
createUser
- Throws:
AlreadyExistsRuntimeFaultRemoteException
-
removeGroup
- Throws:
UserNotFoundRuntimeFaultRemoteException
-
removeUser
- Throws:
UserNotFoundRuntimeFaultRemoteException
-
unassignUserFromGroup
public void unassignUserFromGroup(String user, String group) throws UserNotFound, RuntimeFault, RemoteException - Throws:
UserNotFoundRuntimeFaultRemoteException
-
updateUser
public void updateUser(HostAccountSpec user) throws AlreadyExists, UserNotFound, RuntimeFault, RemoteException
-