/// <summary> /// Adds the user to a secondarygroup. /// </summary> /// <returns><c>true</c>, if user to group was added, <c>false</c> otherwise.</returns> /// <param name="id">Identifier.</param> /// <param name="newGrpId">New group identifier.</param> public bool UserAddGroup(int id, int newGrpId) { bool result = false; XmlRpcUserManagement xrum = (XmlRpcUserManagement)GetProxy(typeof(XmlRpcUserManagement)); Array openNebulaReturnArr = xrum.oneUserAddGroup(this.SessionSHA, id, newGrpId); result = (bool)openNebulaReturnArr.GetValue(0); return(result); }