Skip to content

Commit

Permalink
Changement des valeurs pour connexion
Browse files Browse the repository at this point in the history
Changement du chemin pour accèder à l'Active Directory et changement des données des connexions à la base de données
  • Loading branch information
RuCaVi committed Dec 10, 2020
1 parent 9ea20d4 commit 7be0544
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MyApplication/Helpers/DBSQLServerUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static SqlConnection GetDBConnection()
// Data Source=TRAN-VMWARE\SQLEXPRESS;Initial Catalog=simplehr;Persist Security Info=True;User ID=sa;Password=12345
//
//string connString = @"Data Source=" + datasource + ";Initial Catalog=" + database + ";Persist Security Info=True;User ID=" + username + ";Password=" + password;
string connString = "Server=(local);Database=ad_interface;Integrated Security=SSPI";
string connString = @"Data Source=OR180075\SQLEXPRESS;Initial Catalog=ad_interface;Integrated Security=True";

return new SqlConnection(connString);
}
Expand Down
2 changes: 1 addition & 1 deletion MyApplication/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MyApplication/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="ADPath" Type="System.String" Scope="Application">
<Value Profile="(Default)">informatique.pomy.orif.ch</Value>
<Value Profile="(Default)">orif.lan</Value>
</Setting>
</Settings>
</SettingsFile>
4 changes: 2 additions & 2 deletions MyApplication/Properties/Settings1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion MyApplication/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<applicationSettings>
<MyApplication.Properties.Settings>
<setting name="ADPath" serializeAs="String">
<value>informatique.pomy.orif.ch</value>
<value>orif.lan</value>
</setting>
</MyApplication.Properties.Settings>
</applicationSettings>
Expand Down

0 comments on commit 7be0544

Please sign in to comment.