com.vmware.vim25.mo
Class HostLocalAccountManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by 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)

Constructor Summary
HostLocalAccountManager(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 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)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostLocalAccountManager

public HostLocalAccountManager(ServerConnection serverConnection,
                               ManagedObjectReference mor)
Method Detail

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.