Benutzerberechtigungen eingebaut
This commit is contained in:
@@ -16,9 +16,12 @@ Public Class Class1
|
||||
Public Shared AlleStandorte As New List(Of String)
|
||||
Public Shared LoggedOnUser As New cBenutzer
|
||||
Public Shared LoggedOnUserRights As New List(Of cBerechtigungen)
|
||||
Public Shared LoggedOnUserisAdmin As Boolean = False
|
||||
Public Shared DebugMode As Boolean = False
|
||||
Public Shared DebugText As String = ""
|
||||
Public Shared GroupUsers As List(Of cBenutzer)
|
||||
|
||||
|
||||
Public Shared Sub EnableDoubleBuffered(ByVal dgv As DataGridView)
|
||||
Dim dgvType As Type = dgv.[GetType]()
|
||||
Dim pi As PropertyInfo = dgvType.GetProperty("DoubleBuffered",
|
||||
@@ -42,7 +45,7 @@ Public Class Class1
|
||||
If Main.sAppPath Like "*\bin\Debug" Or Startparameter = "debug" Then
|
||||
DebugMode = True
|
||||
|
||||
Class1.DBConString = "Server=DEVELOPER\DEVSQL;Initial Catalog=Doku;User ID=sa;Password=BmWr501956;Connection Timeout=5;"
|
||||
Class1.DBConString = "Server=DEVELOPER.verag.ost.dmn\DEVSQL;Initial Catalog=Doku;User ID=sa;Password=BmWr501956;Connection Timeout=5;"
|
||||
Class1.FilePath = "\\192.168.0.253\backup\temp_Sebastian\DokuTest"
|
||||
Else
|
||||
Class1.DBConString = "Server=192.168.0.94\SQLEXPRESS;Initial Catalog=Doku;User ID=sa;Password=BmWr501956;Connection Timeout=5;"
|
||||
|
||||
Reference in New Issue
Block a user