public class HostLocalAccountManager extends ManagedObject
| Constructor and Description |
|---|
HostLocalAccountManager(ServerConnection serverConnection,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignUserToGroup(String user,
String group) |
void |
createGroup(HostAccountSpec group) |
void |
createUser(HostAccountSpec user) |
void |
removeGroup(String groupName) |
void |
removeUser(String userName) |
void |
unassignUserFromGroup(String user,
String group) |
void |
updateUser(HostAccountSpec user) |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic HostLocalAccountManager(ServerConnection serverConnection, ManagedObjectReference mor)
public void assignUserToGroup(String user, String group) throws AlreadyExists, UserNotFound, RuntimeFault, RemoteException
public void createGroup(HostAccountSpec group) throws AlreadyExists, RuntimeFault, RemoteException
AlreadyExistsRuntimeFaultRemoteExceptionpublic void createUser(HostAccountSpec user) throws AlreadyExists, RuntimeFault, RemoteException
AlreadyExistsRuntimeFaultRemoteExceptionpublic void removeGroup(String groupName) throws UserNotFound, RuntimeFault, RemoteException
UserNotFoundRuntimeFaultRemoteExceptionpublic void removeUser(String userName) throws UserNotFound, RuntimeFault, RemoteException
UserNotFoundRuntimeFaultRemoteExceptionpublic void unassignUserFromGroup(String user, String group) throws UserNotFound, RuntimeFault, RemoteException
UserNotFoundRuntimeFaultRemoteExceptionpublic void updateUser(HostAccountSpec user) throws AlreadyExists, UserNotFound, RuntimeFault, RemoteException
Copyright © 2011-2012. All Rights Reserved.