/// <summary> /// Removes the user from a secondary group. /// </summary> /// <returns><c>true</c>, if user from group was removed, <c>false</c> otherwise.</returns> /// <param name="id">Identifier.</param> /// <param name="grpId">Group identifier.</param> public bool UserDeleteGroup(int id, int grpId) { bool result = false; XmlRpcUserManagement xrum = (XmlRpcUserManagement)GetProxy(typeof(XmlRpcUserManagement)); Array openNebulaReturnArr = xrum.oneUserDelGroup(this.SessionSHA, id, grpId); result = (bool)openNebulaReturnArr.GetValue(0); return(result); }