/// <summary> /// Create group without reading vocab /// </summary> public OrganicGroup(int getID, string getName, bool getIsAdmin,Services servicesCon) { _servicesCon = servicesCon; _name = getName; _ID = getID; _isAdmin = getIsAdmin; }
private void button_login_Click(object sender, EventArgs e) { // Create a settings object to define connection settings. ServicesSettings settings = new ServicesSettings(); settings.DrupalURL = textBox_url.Text; // settings.UseSessionID = checkBox_sessionID.Checked; settings.EndPoint = textBox_endpoint.Text; settings.CleanURL = true; /*settings.UseKeys = true;//Not Implemented yet //settings.Key = "03cfd62180a67dcbcb1be9a7f78dc726"; settings.DomainName = "localhost";*/ // Create a connection object _serviceCon = new Services(settings); if (_serviceCon.Login(textBox_userName.Text, textBox_password.Text)) DrutNETBase.sendLogEvent("Login to services successful \n", "Sample", Enums.MessageType.Info); }