/// <summary> /// Updates the user quota. /// </summary> /// <returns><c>true</c>, if user quota was updated, <c>false</c> otherwise.</returns> /// <param name="id">User Identifier.</param> /// <param name="newQuota">New quota.</param> public bool UserUpdateQuota(int id, string newQuota) { bool result = false; XmlRpcUserManagement xrum = (XmlRpcUserManagement)GetProxy(typeof(XmlRpcUserManagement)); Array openNebulaReturnArr = xrum.oneUserQuota(this.SessionSHA, id, newQuota); result = (bool)openNebulaReturnArr.GetValue(0); return(result); }