private void Validate_Click(object sender, RoutedEventArgs e) { AdminData.Datarowrequet(grdRequest); Sql_Connection.UPdateDataRequest(AdminData.A_ID); Sql_Connection.FillDataGridRequest(grdRequest); Powershell.Take_Serveur_Name(AdminData.A_Name); Powershell.Add_User_IntoGroups(AdminData.U_Serveur_Name, AdminData.A_Group, AdminData.A_Name); }
private void Button_Validate(object sender, RoutedEventArgs e) { AdminData.DatarowUser(NewUser); Sql_Connection.UPdateDataNewUser(AdminData.U_Name); Powershell.Take_Serveur_Name(AdminData.U_Name); Powershell.Take_password(); Powershell.Create_User(AdminData.U_Serveur_Name, AdminData.U_Surname, AdminData.U_Name, AdminData.U_Name, AdminData.U_password_decrypted); Sql_Connection.FillDataGridUser(NewUser); }
private void Reject_Click(object sender, RoutedEventArgs e) { AdminData.Datarowrequet(grdRequest); Sql_Connection.DeleteDataNewRequest(AdminData.A_ID); Sql_Connection.FillDataGridRequest(grdRequest); }
private void Button_Reject(object sender, RoutedEventArgs e) { AdminData.DatarowUser(NewUser); Sql_Connection.DeleteDataNewUser(AdminData.U_Name); Sql_Connection.FillDataGridUser(NewUser); }