public void CreateGroup(HostAccountSpec group)
 {
     try
     {
         CreateGroupRequestType createGroupRequestType = new CreateGroupRequestType();
         createGroupRequestType._this = (VimApi_65.ManagedObjectReference)VIConvert.ToWsdlType(this.MoRef);
         createGroupRequestType.group = (VimApi_65.HostAccountSpec)VIConvert.ToWsdlType(group);
         this.VimServiceProxy.CreateGroup(new CreateGroupRequest(createGroupRequestType));
     }
     catch (FaultException ex)
     {
         throw FaultUtility.HandleFault(ex);
     }
 }
 public void UpdateUser(HostAccountSpec user)
 {
     try
     {
         UpdateUserRequestType updateUserRequestType = new UpdateUserRequestType();
         updateUserRequestType._this = (VimApi_65.ManagedObjectReference)VIConvert.ToWsdlType(this.MoRef);
         updateUserRequestType.user  = (VimApi_65.HostAccountSpec)VIConvert.ToWsdlType(user);
         this.VimServiceProxy.UpdateUser(new UpdateUserRequest(updateUserRequestType));
     }
     catch (FaultException ex)
     {
         throw FaultUtility.HandleFault(ex);
     }
 }