Update Version 2.3

master
Stefan Hutter 5 years ago
parent 1cc7ed8893
commit 97ef665fd1

Binary file not shown.

@ -1,6 +1,8 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio Version 16
VisualStudioVersion = 16.0.31205.134
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BEA", "BEA\BEA.vbproj", "{6389CFE9-95AF-474D-BC03-83A1B083D5AB}"
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "_FunktionDetail", "_FunktionDetail\_FunktionDetail.vbproj", "{C08BD3F2-8DC9-4CE9-9F34-1CCBC7F429EC}"
@ -15,6 +17,8 @@ Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "_DataClass", "_DataClass\_D
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "_FRReporting", "_FRReporting\_FRReporting.vbproj", "{C04C6268-6402-4DEB-8BFA-E6A233B55DBF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BeAUserSync", "BeAUserSync\BeAUserSync.csproj", "{D1E23AD8-1FC2-4130-B950-B639D8474292}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -49,11 +53,16 @@ Global
{C04C6268-6402-4DEB-8BFA-E6A233B55DBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C04C6268-6402-4DEB-8BFA-E6A233B55DBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C04C6268-6402-4DEB-8BFA-E6A233B55DBF}.Release|Any CPU.Build.0 = Release|Any CPU
{D1E23AD8-1FC2-4130-B950-B639D8474292}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1E23AD8-1FC2-4130-B950-B639D8474292}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1E23AD8-1FC2-4130-B950-B639D8474292}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1E23AD8-1FC2-4130-B950-B639D8474292}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
VisualSVNWorkingCopyRoot = .
SolutionGuid = {BD783DFF-BED3-4C30-B995-6486D97F62B1}
EndGlobalSection
EndGlobal

@ -109,6 +109,7 @@
<Import Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Compile Include="DB\Generierte Objekte\clsMailTexte.vb" />
<Compile Include="DB\Generierte Objekte\clsBerechtigung.vb" />
<Compile Include="DB\Generierte Objekte\clsApplication.vb" />
<Compile Include="DB\Generierte Objekte\clsConnectionProvider.vb" />

@ -0,0 +1,373 @@
Imports System
Imports System.Data
Imports System.Data.SqlTypes
Imports System.Data.SqlClient
Namespace db
Public Class clsMailTexte
Inherits clsDBInteractionBase
#Region " Class Member Declarations "
Private m_bAktiv As SqlBoolean
Private m_daErstellt_am, m_daMutiert_am As SqlDateTime
Private m_iMutierer, m_iId As SqlInt32
Private m_sInhalt, m_sBeschreibung As SqlString
#End Region
Public Sub New()
' // Nothing for now.
End Sub
Overrides Public Function Insert() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_MailTexte_Insert]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iid", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iId))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBeschreibung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBeschreibung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sInhalt", SqlDbType.VarChar, 2048, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sInhalt))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@baktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_MailTexte_Insert' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMailTexte::Insert::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
Overrides Public Function Update() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_MailTexte_Update]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iid", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iId))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBeschreibung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBeschreibung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sInhalt", SqlDbType.VarChar, 2048, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sInhalt))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@baktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_MailTexte_Update' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMailTexte::Update::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
Overrides Public Function Delete() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_MailTexte_Delete]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iid", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iId))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_MailTexte_Delete' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMailTexte::Delete::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
Overrides Public Function SelectOne() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_MailTexte_SelectOne]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("MailTexte")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iid", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iId))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_MailTexte_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
If dtToReturn.Rows.Count > 0 Then
m_iId = New SqlInt32(CType(dtToReturn.Rows(0)("id"), Integer))
If dtToReturn.Rows(0)("Beschreibung") Is System.DBNull.Value Then
m_sBeschreibung = SqlString.Null
Else
m_sBeschreibung = New SqlString(CType(dtToReturn.Rows(0)("Beschreibung"), String))
End If
If dtToReturn.Rows(0)("Inhalt") Is System.DBNull.Value Then
m_sInhalt = SqlString.Null
Else
m_sInhalt = New SqlString(CType(dtToReturn.Rows(0)("Inhalt"), String))
End If
If dtToReturn.Rows(0)("erstellt_am") Is System.DBNull.Value Then
m_daErstellt_am = SqlDateTime.Null
Else
m_daErstellt_am = New SqlDateTime(CType(dtToReturn.Rows(0)("erstellt_am"), Date))
End If
If dtToReturn.Rows(0)("mutiert_am") Is System.DBNull.Value Then
m_daMutiert_am = SqlDateTime.Null
Else
m_daMutiert_am = New SqlDateTime(CType(dtToReturn.Rows(0)("mutiert_am"), Date))
End If
If dtToReturn.Rows(0)("mutierer") Is System.DBNull.Value Then
m_iMutierer = SqlInt32.Null
Else
m_iMutierer = New SqlInt32(CType(dtToReturn.Rows(0)("mutierer"), Integer))
End If
If dtToReturn.Rows(0)("aktiv") Is System.DBNull.Value Then
m_bAktiv = SqlBoolean.Null
Else
m_bAktiv = New SqlBoolean(CType(dtToReturn.Rows(0)("aktiv"), Boolean))
End If
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMailTexte::SelectOne::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
Overrides Public Function SelectAll() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_MailTexte_SelectAll]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("MailTexte")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_MailTexte_SelectAll' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMailTexte::SelectAll::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
#Region " Class Property Declarations "
Public Property [iId]() As SqlInt32
Get
Return m_iId
End Get
Set(ByVal Value As SqlInt32)
Dim iIdTmp As SqlInt32 = Value
If iIdTmp.IsNull Then
Throw New ArgumentOutOfRangeException("iId", "iId can't be NULL")
End If
m_iId = Value
End Set
End Property
Public Property [sBeschreibung]() As SqlString
Get
Return m_sBeschreibung
End Get
Set(ByVal Value As SqlString)
m_sBeschreibung = Value
End Set
End Property
Public Property [sInhalt]() As SqlString
Get
Return m_sInhalt
End Get
Set(ByVal Value As SqlString)
m_sInhalt = Value
End Set
End Property
Public Property [daErstellt_am]() As SqlDateTime
Get
Return m_daErstellt_am
End Get
Set(ByVal Value As SqlDateTime)
m_daErstellt_am = Value
End Set
End Property
Public Property [daMutiert_am]() As SqlDateTime
Get
Return m_daMutiert_am
End Get
Set(ByVal Value As SqlDateTime)
m_daMutiert_am = Value
End Set
End Property
Public Property [iMutierer]() As SqlInt32
Get
Return m_iMutierer
End Get
Set(ByVal Value As SqlInt32)
m_iMutierer = Value
End Set
End Property
Public Property [bAktiv]() As SqlBoolean
Get
Return m_bAktiv
End Get
Set(ByVal Value As SqlBoolean)
m_bAktiv = Value
End Set
End Property
#End Region
End Class
End Namespace

@ -17,8 +17,8 @@ Module Globals
' Verwaltungmit = 6
'End Enum
Public Version As String = "2.2"
Public Versionsdatum As String = "16. Januar 2021"
Public Version As String = "2.3"
Public Versionsdatum As String = "25. Mai 2021"
''' <summary>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -52,7 +52,7 @@ Partial Class frmMain
'
'MenuStrip1
'
Me.MenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.DateiToolStripMenuItem, Me.ToolStripMenuItem3, Me.ÜbersichtToolStripMenuItem, Me.AuswertungenToolStripMenuItem, Me.FensterToolStripMenuItem, Me.ExtrasToolStripMenuItem})
Me.MenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.DateiToolStripMenuItem, Me.ToolStripMenuItem3, Me.ÜbersichtToolStripMenuItem, Me.AuswertungenToolStripMenuItem, Me.ExtrasToolStripMenuItem, Me.FensterToolStripMenuItem})
Me.MenuStrip1.Location = New System.Drawing.Point(0, 0)
Me.MenuStrip1.MdiWindowListItem = Me.FensterToolStripMenuItem
Me.MenuStrip1.Name = "MenuStrip1"
@ -136,53 +136,53 @@ Partial Class frmMain
'
Me.ExtrasToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.PersonalExcelVerarbeitenToolStripMenuItem, Me.MassenMutationenToolStripMenuItem, Me.ToolStripMenuItem1, Me.TemporäreBerechtigungenToolStripMenuItem, Me.SystemAdministrationToolStripMenuItem, Me.ObjektListerToolStripMenuItem, Me.ToolStripMenuItem2, Me.ÜberToolStripMenuItem})
Me.ExtrasToolStripMenuItem.Name = "ExtrasToolStripMenuItem"
Me.ExtrasToolStripMenuItem.Size = New System.Drawing.Size(49, 20)
Me.ExtrasToolStripMenuItem.Size = New System.Drawing.Size(50, 20)
Me.ExtrasToolStripMenuItem.Text = "&Extras"
'
'PersonalExcelVerarbeitenToolStripMenuItem
'
Me.PersonalExcelVerarbeitenToolStripMenuItem.Name = "PersonalExcelVerarbeitenToolStripMenuItem"
Me.PersonalExcelVerarbeitenToolStripMenuItem.Size = New System.Drawing.Size(219, 22)
Me.PersonalExcelVerarbeitenToolStripMenuItem.Size = New System.Drawing.Size(217, 22)
Me.PersonalExcelVerarbeitenToolStripMenuItem.Text = "Personal-Excel verarbeiten"
'
'MassenMutationenToolStripMenuItem
'
Me.MassenMutationenToolStripMenuItem.Name = "MassenMutationenToolStripMenuItem"
Me.MassenMutationenToolStripMenuItem.Size = New System.Drawing.Size(219, 22)
Me.MassenMutationenToolStripMenuItem.Size = New System.Drawing.Size(217, 22)
Me.MassenMutationenToolStripMenuItem.Text = "&Massen-Mutationen"
'
'ToolStripMenuItem1
'
Me.ToolStripMenuItem1.Name = "ToolStripMenuItem1"
Me.ToolStripMenuItem1.Size = New System.Drawing.Size(216, 6)
Me.ToolStripMenuItem1.Size = New System.Drawing.Size(214, 6)
'
'TemporäreBerechtigungenToolStripMenuItem
'
Me.TemporäreBerechtigungenToolStripMenuItem.Name = "TemporäreBerechtigungenToolStripMenuItem"
Me.TemporäreBerechtigungenToolStripMenuItem.Size = New System.Drawing.Size(219, 22)
Me.TemporäreBerechtigungenToolStripMenuItem.Size = New System.Drawing.Size(217, 22)
Me.TemporäreBerechtigungenToolStripMenuItem.Text = "Temporäre Berechtigungen"
'
'SystemAdministrationToolStripMenuItem
'
Me.SystemAdministrationToolStripMenuItem.Name = "SystemAdministrationToolStripMenuItem"
Me.SystemAdministrationToolStripMenuItem.Size = New System.Drawing.Size(219, 22)
Me.SystemAdministrationToolStripMenuItem.Size = New System.Drawing.Size(217, 22)
Me.SystemAdministrationToolStripMenuItem.Text = "&System-Administration"
'
'ObjektListerToolStripMenuItem
'
Me.ObjektListerToolStripMenuItem.Name = "ObjektListerToolStripMenuItem"
Me.ObjektListerToolStripMenuItem.Size = New System.Drawing.Size(219, 22)
Me.ObjektListerToolStripMenuItem.Size = New System.Drawing.Size(217, 22)
Me.ObjektListerToolStripMenuItem.Text = "Objekt-Lister"
'
'ToolStripMenuItem2
'
Me.ToolStripMenuItem2.Name = "ToolStripMenuItem2"
Me.ToolStripMenuItem2.Size = New System.Drawing.Size(216, 6)
Me.ToolStripMenuItem2.Size = New System.Drawing.Size(214, 6)
'
'ÜberToolStripMenuItem
'
Me.ÜberToolStripMenuItem.Name = "ÜberToolStripMenuItem"
Me.ÜberToolStripMenuItem.Size = New System.Drawing.Size(219, 22)
Me.ÜberToolStripMenuItem.Size = New System.Drawing.Size(217, 22)
Me.ÜberToolStripMenuItem.Text = "Über..."
'
'ToolStrip1

@ -112,34 +112,34 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="MenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="MenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>132, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="TSBtnQuit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAK2SURBVDhPnZLdS1NhHMcfCPoDuummi+i6qwYWvSBuc5vH
szM3Z1vnnG0nXTkzKnqDrKysNC1rhVa0YSoVRaVWRlr2omhoTMpErBXVRXhR9EIQXRR8Omosdlk/+MDz
e+D58Hx/zyP+pz69HAh+fjv6s21HLn+2ZutydWFXx4FCug5OI2XorJG4stfOw+QWPk708mHsFt9e9XNx
lzVb0Fkts2SZnaUrbCxb9ZecFVYWW1byPd1LumsfqWY/X9KPuLzHkS3oqJLJtTqx2SXsDlcGa76TnJU2
XrRFSJ3TGTkd5ON4D9f2F2QLHHGBVDeHArsPyaUgFbiRJBmXS2aVVWKi1WDkbIjHTUGmUp0zUf8cFcJ2
RJCeasdpSgrzNNzOAIrkR5G9yG4PeQ43z5Nhhpp1+uNreDt4idu1yqzAVicYe5egtV+QWyuwNwqcpwRy
1Xy8ShBPkZ/8Qh+j5zT6T+p8v7OQyb4Weuq9CFeDYPhNLckhQWLQXL8u48mbCE/fh2ckJZ4wxcVBJE+A
J6dVHpzQ+NG7iPHbzfQ1+mcF99PbSY4KkilBy3NB64Tg2dcIjpOCYHEZqwMh3MUaQ00B+o4HSWx38rTz
CI/igZkIFrsZoXtyHe1pQd50hKMCxwlB0d4F6GoUVTfwBQ0G4n7uHivh+gGF4UvVDDapmSFa8usFXa99
OI8LjMBWDK0SI1yOYUSJGKUEQlEeNHq50+Cju87LwPltjJwJZT2jxWleWWmYS9TYRLSsgrJo+QylJtra
GPcaPHTXFnHjkIfe5hijiUiWQLRVLmd9RSUVsc1UbNiYIWZSWr6Ju/UyNw8rdBx0c/NYiLGWUoSu6+ha
CE0Lo6rTmGtVM3s1g2r2q9fo7IwFuFCtmD9Q5mpNERPt62aH+K9U6Tm7Erutv15eiGVH+IeaZ7JECGH5
DX4YwpWqC/6hAAAAAElFTkSuQmCC
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAK1SURBVDhPnZLfS1NhGMdfCPoDuummi+i6qwYWWYjb3Obx
7MzN6eY5Z9tJZ86Min5BlvZb07IstEKHqZQUlVoZaVmpaGQoZSLViuoivCiiCKSLgk/HHyx2WQ984H1e
eD+83+d9xf/U1zfDwa8fJn6178lgcWuhrlbl9HQdzqHn6BxSku4jEtcq7TyO7+DLdD+fJ+/w4+0QV/ZZ
UwXdVTJr1tlZm25j3ca/pKVbWW3ZwGyin0TPQcab/HxLDHL1gCNV0FUhk2F1YrNL2B2uJNYsJ2kbbLxu
jzDerDN2PsiXqT5uHMpOFTgaBFLNErLtPiSXgpTtRpJkXC6ZjVaJ6TaDsYshnjQGmRnvno+6eFQI2wlB
YqYDpynJydRwOwMokh9F9iK7PWQ63LyMhxlt0hlqKOTDSCd3q5UFga1GMPmxhbYhQUa1wF4vcJ4TyBXL
8SpBPLl+snJ8TDRrDJ3Vmb23klcDrfTVehGuOsHT99XERwUtI+b6XTHP3kd4/ik8L8n3hMnLCyJ5Ajw7
r/LojMbP/lVM3W1ioN6/IHiY2E18QhAfF7S+FLRNC158j+A4KwjmFVMQCOHO0xhtDDBwOkjLbifPu08w
2BCYj2CxmxF6X5XQkRBkzkU4KXCcEeRWrkBXo6i6gS9oMNzg5/6pfG4eVnjaWcVIo5ocoiWrVtDzzofz
tMAI7MTQyjHCpRhGlIhRRCAU5VG9l3t1PnprvAxf2sXYhVDKM1qc5pWVuqVEjW1Ei8sojpbOU2SibYrx
oM5Db3Uut4556G+KMdESSRGI9vL1bC4rpyy2nbItW5PETIpKt3G/Vub2cYWuo25unwox2VqE0HUdXQuh
aWFUdQ5zrWpmryZRzb6gUGdvLMDlKsX8gTLXj+Qy3VGyMMR/pUJP29e8P/P3m8ux1Aj/UMtM1gghLH8A
ebHCkuu7Y0AAAAAASUVORK5CYII=
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
4dfae4da81158e7917b471372ff7162939d77c89
15008e5645a6671b21342fa585499150a897e195

@ -22,7 +22,6 @@ E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\_Generic_Event_Handler.dll
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\_MyBeziehungen.dll
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\FastReport.dll
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\FastReport.Bars.dll
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\System.Windows.Forms.DataVisualization.dll
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\FastReport.Editor.dll
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\_AllgMainObjekte.pdb
E:\Software-Projekte\TKBDiverse\BEA\BEA\bin\Debug\_AllgMainObjekte.xml

Binary file not shown.

@ -0,0 +1,93 @@
using System;
using System.Collections.Generic;
using System.DirectoryServices;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeAUserSync.AD
{
class SHUAD
{
DirectoryEntry di;
string ldapServer = "";
string userName = "";
string password = "";
string AuthType = "";
string filter = "";
public string ErrorMessage = "";
public bool Connect_to_Server()
{
ldapServer = Properties.Settings.Default.LDAPServer;
userName = Properties.Settings.Default.UserName;
password = Properties.Settings.Default.Password;
AuthType = Properties.Settings.Default.AutheticationType;
Console.WriteLine(ldapServer);
Console.WriteLine(userName);
try
{
AuthenticationTypes authenticationType = (AuthenticationTypes)Enum.Parse(typeof(AuthenticationTypes), this.AuthType);
//di = new DirectoryEntry(ldapServer, userName, password,atype);
if (userName !="")
{
if (password == "")
{
Console.Write("Passwort für User:" + userName);
password = Console.ReadLine();
};
//di = new DirectoryEntry(ldapServer, userName, password,atype);
di = new DirectoryEntry(ldapServer, userName, password, authenticationType);
return true;
}
else
{
di = new DirectoryEntry(ldapServer);
return false;
}
}
catch (Exception ex)
{
ErrorMessage = ex.Message;
return false;
}
}
public string get_mail_from_user(string userid)
{
try
{
string email = "";
DirectorySearcher searcher = new DirectorySearcher(di);
searcher.Filter = "(" + Properties.Settings.Default.LoginAttribute + "=" + userid + ")";
//searcher.Filter = "(uid="+userid+")";
//searcher.Filter = "(SAMAccountName = " + userid + ")";
searcher.PropertiesToLoad.Add(Properties.Settings.Default.emailattribute);
SearchResult rc = searcher.FindOne();
try
{
email = rc.Properties[Properties.Settings.Default.emailattribute][0].ToString();
return email;
}
catch (Exception ex)
{
//Console.WriteLine(ex.Message);
return "";
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
return "";
}
}
}
}

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="BeAUserSync.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<appSettings>
<add key="LDAPPassword" value="" />
<add key="LDAPPath" value="LDAP://ldap.forumsys.com:389" />
<add key="LDAPUser" value="" />
<add key="LDAPDomain" value="" />
</appSettings>
<userSettings>
<BeAUserSync.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value>cn=read-only-admin,dc=example,dc=com</value>
</setting>
<setting name="Password" serializeAs="String">
<value>password</value>
</setting>
<setting name="AutheticationType" serializeAs="String">
<value>16</value>
</setting>
<setting name="BaseDN" serializeAs="String">
<value>OU=Prd_Personal, OU=Prd_User,OU=Prd_Org, OU=Prd, DC=tgcorp,DC=ch</value>
</setting>
<setting name="Filter" serializeAs="String">
<value>(objectClass=person)</value>
</setting>
<setting name="emailattribute" serializeAs="String">
<value>mail</value>
</setting>
<setting name="LDAPServer" serializeAs="String">
<value>LDAP://ldap.forumsys.com:389/dc=example,dc=com</value>
</setting>
<setting name="LoginAttribute" serializeAs="String">
<value>uid</value>
</setting>
<setting name="connectionstring" serializeAs="String">
<value>data source=shu00;initial catalog=bea_prod;integrated security=SSPI;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="Dataselect" serializeAs="String">
<value>2</value>
</setting>
</BeAUserSync.Properties.Settings>
</userSettings>
</configuration>

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D1E23AD8-1FC2-4130-B950-B639D8474292}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>BeAUserSync</RootNamespace>
<AssemblyName>BeAUserSync</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.2.2.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.DirectoryServices" />
<Reference Include="System.DirectoryServices.AccountManagement" />
<Reference Include="System.DirectoryServices.Protocols" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="AD\SHUAD.cs" />
<Compile Include="db.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>NoAD</StartArguments>
</PropertyGroup>
</Project>

@ -0,0 +1,164 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using Microsoft.VisualBasic;
using System.DirectoryServices;
using BeAUserSync.AD;
using System.DirectoryServices.Protocols;
using System.Data;
// Parameter
// ADTest - Test von AD-Zugriffen
// NoAD - Update E-Mail-Adresse mit TGNummer+@tkb.ch
// Normal - Update - E-Mail-Adresse über AD
namespace BeAUserSync
{
class Program
{
private const string CONFIG_ITEM_DIRECTORY = @"ConfigurationItems\";
private const string AD_CONFIGURATION_ITEM_NAME = "ActiveDirectory";
private static db database = new db();
private static db adlog = new db();
static string dataselect = "";
string s = "";
static void Main(string[] args)
{
dataselect = Properties.Settings.Default.Dataselect;
if (dataselect != "")
{
dataselect = "Select top " + dataselect + " Personalnr, TGNummer, EMail from personal where aktiv=1 and isnull(tgnummer,'')<>''";
}
else
{
dataselect = "Select Personalnr, TGNummer, EMail from personal where aktiv = 1 and isnull(tgnummer,'')<>''";
}
Console.WriteLine(dataselect);
string arg = "";
if (args.Length != 0)
{
arg = args[0];
if (arg != "ADTest" && arg != "NoAD" && arg != "Normal")
{
Console.WriteLine("Fehlerhafte Argumente - möglich sind:");
Console.WriteLine("ADTest - Kommandozeilen-Test für AD-Zugriffe");
Console.WriteLine("NoAD - DB-Update ohne AD - Email aus TGNummer und @tkb.ch");
Console.WriteLine("Normal - E-Mail-Bezug aus AD");
string res = "";
res = Console.ReadLine();
return;
}
switch (arg)
{
case "ADTest":
SHUAD sad = new SHUAD();
if (sad.Connect_to_Server() == true)
{
Console.WriteLine("Connection OK");
}
else
{
Console.WriteLine("Connection NOK");
Console.WriteLine(sad.ErrorMessage);
}
string user = "";
Console.WriteLine("UserID:");
user = Console.ReadLine();
while (user != "")
{
try
{
Console.WriteLine(sad.get_mail_from_user(user));
Console.WriteLine("");
Console.WriteLine("UserID:");
user = Console.ReadLine();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
user = "";
user = Console.ReadLine();
}
}
break;
case "NoAD":
adlog.Get_Tabeldata_for_Update("Select * from adlog where id=-1");
Log_Insert("Start Abgleich");
database.Get_Tabeldata_for_Update(dataselect);
foreach (DataRow dr in database.dsdaten.Tables[0].Rows)
{
string email = "";
email = dr["tgnummer"].ToString() + "@tkb.ch";
if (email != "" && email != dr["email"].ToString())
{
dr["email"] = email;
Log_Insert(dr["tgnummer"].ToString() + " - " + email);
}
}
database.Update_Tabeldata();
Log_Insert("Ende Abgleich");
adlog.Update_Tabeldata();
break;
default:
SHUAD ad = new SHUAD();
if (ad.Connect_to_Server() != true)
{
Console.WriteLine("Connection NOK");
return;
}
adlog.Get_Tabeldata_for_Update("Select * from adlog where id=-1");
Log_Insert("Start Abgleich");
database.Get_Tabeldata_for_Update(dataselect);
foreach (DataRow dr in database.dsdaten.Tables[0].Rows)
{
string email = "";
Console.WriteLine(dr["tgnummer"]);
email = ad.get_mail_from_user(dr["tgnummer"].ToString());
if (email != "" && email != dr["email"].ToString())
{
dr["email"] = email;
Log_Insert(dr["tgnummer"].ToString() + " - " + email);
}
else
{
if (email == "")
{
Log_Insert(dr["tgnummer"].ToString() + " - kein AD-Eintrag");
}
}
}
database.Update_Tabeldata();
Log_Insert("Ende Abgleich");
adlog.Update_Tabeldata();
break;
}
}
}
static void Log_Insert(string logentry)
{
DataRow dr = adlog.dsdaten.Tables[0].NewRow();
dr["Eintrag"] = logentry;
dr["Zeit"] = DateTime.Now;
adlog.dsdaten.Tables[0].Rows.Add(dr);
}
}
}

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("BeAUserSync")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BeAUserSync")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("d1e23ad8-1fc2-4130-b950-b639d8474292")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

@ -0,0 +1,147 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeAUserSync.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("cn=read-only-admin,dc=example,dc=com")]
public string UserName {
get {
return ((string)(this["UserName"]));
}
set {
this["UserName"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("password")]
public string Password {
get {
return ((string)(this["Password"]));
}
set {
this["Password"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("16")]
public string AutheticationType {
get {
return ((string)(this["AutheticationType"]));
}
set {
this["AutheticationType"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("OU=Prd_Personal, OU=Prd_User,OU=Prd_Org, OU=Prd, DC=tgcorp,DC=ch")]
public string BaseDN {
get {
return ((string)(this["BaseDN"]));
}
set {
this["BaseDN"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("(objectClass=person)")]
public string Filter {
get {
return ((string)(this["Filter"]));
}
set {
this["Filter"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("mail")]
public string emailattribute {
get {
return ((string)(this["emailattribute"]));
}
set {
this["emailattribute"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("LDAP://ldap.forumsys.com:389/dc=example,dc=com")]
public string LDAPServer {
get {
return ((string)(this["LDAPServer"]));
}
set {
this["LDAPServer"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("uid")]
public string LoginAttribute {
get {
return ((string)(this["LoginAttribute"]));
}
set {
this["LoginAttribute"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("data source=shu00;initial catalog=bea_prod;integrated security=SSPI;persist secur" +
"ity info=false;workstation id=;packet size=4096;user id=sa;password=*shu29")]
public string connectionstring {
get {
return ((string)(this["connectionstring"]));
}
set {
this["connectionstring"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public string Dataselect {
get {
return ((string)(this["Dataselect"]));
}
set {
this["Dataselect"] = value;
}
}
}
}

@ -0,0 +1,36 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="BeAUserSync.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="UserName" Type="System.String" Scope="User">
<Value Profile="(Default)">cn=read-only-admin,dc=example,dc=com</Value>
</Setting>
<Setting Name="Password" Type="System.String" Scope="User">
<Value Profile="(Default)">password</Value>
</Setting>
<Setting Name="AutheticationType" Type="System.String" Scope="User">
<Value Profile="(Default)">16</Value>
</Setting>
<Setting Name="BaseDN" Type="System.String" Scope="User">
<Value Profile="(Default)">OU=Prd_Personal, OU=Prd_User,OU=Prd_Org, OU=Prd, DC=tgcorp,DC=ch</Value>
</Setting>
<Setting Name="Filter" Type="System.String" Scope="User">
<Value Profile="(Default)">(objectClass=person)</Value>
</Setting>
<Setting Name="emailattribute" Type="System.String" Scope="User">
<Value Profile="(Default)">mail</Value>
</Setting>
<Setting Name="LDAPServer" Type="System.String" Scope="User">
<Value Profile="(Default)">LDAP://ldap.forumsys.com:389/dc=example,dc=com</Value>
</Setting>
<Setting Name="LoginAttribute" Type="System.String" Scope="User">
<Value Profile="(Default)">uid</Value>
</Setting>
<Setting Name="connectionstring" Type="System.String" Scope="User">
<Value Profile="(Default)">data source=shu00;initial catalog=bea_prod;integrated security=SSPI;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</Value>
</Setting>
<Setting Name="Dataselect" Type="System.String" Scope="User">
<Value Profile="(Default)">2</Value>
</Setting>
</Settings>
</SettingsFile>

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="BeAUserSync.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<appSettings>
<add key="LDAPPassword" value="" />
<add key="LDAPPath" value="LDAP://ldap.forumsys.com:389" />
<add key="LDAPUser" value="" />
<add key="LDAPDomain" value="" />
</appSettings>
<userSettings>
<BeAUserSync.Properties.Settings>
<setting name="UserName" serializeAs="String">
<value>cn=read-only-admin,dc=example,dc=com</value>
</setting>
<setting name="Password" serializeAs="String">
<value>password</value>
</setting>
<setting name="AutheticationType" serializeAs="String">
<value>16</value>
</setting>
<setting name="BaseDN" serializeAs="String">
<value>OU=Prd_Personal, OU=Prd_User,OU=Prd_Org, OU=Prd, DC=tgcorp,DC=ch</value>
</setting>
<setting name="Filter" serializeAs="String">
<value>(objectClass=person)</value>
</setting>
<setting name="emailattribute" serializeAs="String">
<value>mail</value>
</setting>
<setting name="LDAPServer" serializeAs="String">
<value>LDAP://ldap.forumsys.com:389/dc=example,dc=com</value>
</setting>
<setting name="LoginAttribute" serializeAs="String">
<value>uid</value>
</setting>
<setting name="connectionstring" serializeAs="String">
<value>data source=shu00;initial catalog=bea_prod;integrated security=SSPI;persist security info=false;workstation id=;packet size=4096;user id=sa;password=*shu29</value>
</setting>
<setting name="Dataselect" serializeAs="String">
<value>2</value>
</setting>
</BeAUserSync.Properties.Settings>
</userSettings>
</configuration>

@ -0,0 +1,708 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Extensions.Logging.Abstractions</name>
</assembly>
<members>
<member name="T:Microsoft.Extensions.Logging.IExternalScopeProvider">
<summary>
Represents a storage of common scope data.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.IExternalScopeProvider.ForEachScope``1(System.Action{System.Object,``0},``0)">
<summary>
Executes callback for each currently active scope objects in order of creation.
All callbacks are guaranteed to be called inline from this method.
</summary>
<param name="callback">The callback to be executed for every scope object</param>
<param name="state">The state object to be passed into the callback</param>
<typeparam name="TState"></typeparam>
</member>
<member name="M:Microsoft.Extensions.Logging.IExternalScopeProvider.Push(System.Object)">
<summary>
Adds scope object to the list
</summary>
<param name="state">The scope object</param>
<returns>The <see cref="T:System.IDisposable"/> token that removes scope on dispose.</returns>
</member>
<member name="T:Microsoft.Extensions.Logging.ILogger">
<summary>
Represents a type used to perform logging.
</summary>
<remarks>Aggregates most logging patterns to a single method.</remarks>
</member>
<member name="M:Microsoft.Extensions.Logging.ILogger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
<summary>
Writes a log entry.
</summary>
<param name="logLevel">Entry will be written on this level.</param>
<param name="eventId">Id of the event.</param>
<param name="state">The entry to be written. Can be also an object.</param>
<param name="exception">The exception related to this entry.</param>
<param name="formatter">Function to create a <c>string</c> message of the <paramref name="state"/> and <paramref name="exception"/>.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.ILogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
<summary>
Checks if the given <paramref name="logLevel"/> is enabled.
</summary>
<param name="logLevel">level to be checked.</param>
<returns><c>true</c> if enabled.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.ILogger.BeginScope``1(``0)">
<summary>
Begins a logical operation scope.
</summary>
<param name="state">The identifier for the scope.</param>
<returns>An IDisposable that ends the logical operation scope on dispose.</returns>
</member>
<member name="T:Microsoft.Extensions.Logging.ILoggerFactory">
<summary>
Represents a type used to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from
the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>s.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.ILoggerFactory.CreateLogger(System.String)">
<summary>
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance.
</summary>
<param name="categoryName">The category name for messages produced by the logger.</param>
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.ILoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
<summary>
Adds an <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> to the logging system.
</summary>
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param>
</member>
<member name="T:Microsoft.Extensions.Logging.ILogger`1">
<summary>
A generic interface for logging where the category name is derived from the specified
<typeparamref name="TCategoryName"/> type name.
Generally used to enable activation of a named <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from dependency injection.
</summary>
<typeparam name="TCategoryName">The type who's name is used for the logger category name.</typeparam>
</member>
<member name="T:Microsoft.Extensions.Logging.ILoggerProvider">
<summary>
Represents a type that can create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.ILoggerProvider.CreateLogger(System.String)">
<summary>
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance.
</summary>
<param name="categoryName">The category name for messages produced by the logger.</param>
<returns></returns>
</member>
<member name="T:Microsoft.Extensions.Logging.Internal.FormattedLogValues">
<summary>
LogValues to enable formatting options supported by <see cref="M:string.Format"/>.
This also enables using {NamedformatItem} in the format string.
</summary>
</member>
<member name="T:Microsoft.Extensions.Logging.Internal.LogValuesFormatter">
<summary>
Formatter to convert the named format items like {NamedformatItem} to <see cref="M:string.Format"/> format.
</summary>
</member>
<member name="T:Microsoft.Extensions.Logging.Abstractions.Internal.NullScope">
<summary>
An empty scope without any logic
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.Internal.NullScope.Dispose">
<inheritdoc />
</member>
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLogger">
<summary>
Minimalistic logger that does nothing.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger.BeginScope``1(``0)">
<inheritdoc />
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
<inheritdoc />
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
<inheritdoc />
</member>
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory">
<summary>
An <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> used to create instance of
<see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger"/> that logs nothing.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory.CreateLogger(System.String)">
<inheritdoc />
<remarks>
This returns a <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger"/> instance which logs nothing.
</remarks>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
<inheritdoc />
<remarks>
This method ignores the parameter and does nothing.
</remarks>
</member>
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLogger`1">
<summary>
Minimalistic logger that does nothing.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger`1.BeginScope``1(``0)">
<inheritdoc />
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger`1.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
<inheritdoc />
<remarks>
This method ignores the parameters and does nothing.
</remarks>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLogger`1.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
<inheritdoc />
</member>
<member name="T:Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider">
<summary>
Provider for the <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger"/>.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider.CreateLogger(System.String)">
<inheritdoc />
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider.Dispose">
<inheritdoc />
</member>
<member name="P:Microsoft.Extensions.Logging.Abstractions.Resource.UnexpectedNumberOfNamedParameters">
<summary>
The format string '{0}' does not have the expected number of named parameters. Expected {1} parameter(s) but found {2} parameter(s).
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.Abstractions.Resource.FormatUnexpectedNumberOfNamedParameters(System.Object,System.Object,System.Object)">
<summary>
The format string '{0}' does not have the expected number of named parameters. Expected {1} parameter(s) but found {2} parameter(s).
</summary>
</member>
<member name="T:Microsoft.Extensions.Logging.ISupportExternalScope">
<summary>
Represents a <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> that is able to consume external scope information.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.ISupportExternalScope.SetScopeProvider(Microsoft.Extensions.Logging.IExternalScopeProvider)">
<summary>
Sets external scope information source for logger provider.
</summary>
<param name="scopeProvider"></param>
</member>
<member name="T:Microsoft.Extensions.Logging.LoggerExtensions">
<summary>
ILogger extension methods for common scenarios.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a debug log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogDebug(0, exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes a debug log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogDebug(0, "Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a debug log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogDebug(exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogDebug(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats and writes a debug log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogDebug("Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a trace log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogTrace(0, exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes a trace log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogTrace(0, "Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a trace log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogTrace(exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogTrace(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats and writes a trace log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogTrace("Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes an informational log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogInformation(0, exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes an informational log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogInformation(0, "Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes an informational log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogInformation(exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogInformation(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats and writes an informational log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogInformation("Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a warning log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogWarning(0, exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes a warning log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogWarning(0, "Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a warning log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogWarning(exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats and writes a warning log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogWarning("Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes an error log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogError(0, exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes an error log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogError(0, "Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes an error log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogError(exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogError(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats and writes an error log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogError("Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a critical log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogCritical(0, exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes a critical log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogCritical(0, "Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a critical log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogCritical(exception, "Error while processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats and writes a critical log message.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="message">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<example>logger.LogCritical("Processing request from {Address}", address)</example>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.Log(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.LogLevel,System.String,System.Object[])">
<summary>
Formats and writes a log message at the specified log level.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="logLevel">Entry will be written on this level.</param>
<param name="message">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.Log(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String,System.Object[])">
<summary>
Formats and writes a log message at the specified log level.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="logLevel">Entry will be written on this level.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="message">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.Log(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.LogLevel,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a log message at the specified log level.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="logLevel">Entry will be written on this level.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.Log(Microsoft.Extensions.Logging.ILogger,Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.Exception,System.String,System.Object[])">
<summary>
Formats and writes a log message at the specified log level.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to write to.</param>
<param name="logLevel">Entry will be written on this level.</param>
<param name="eventId">The event id associated with the log.</param>
<param name="exception">The exception to log.</param>
<param name="message">Format string of the log message.</param>
<param name="args">An object array that contains zero or more objects to format.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExtensions.BeginScope(Microsoft.Extensions.Logging.ILogger,System.String,System.Object[])">
<summary>
Formats the message and creates a scope.
</summary>
<param name="logger">The <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to create the scope in.</param>
<param name="messageFormat">Format string of the log message in message template format. Example: <code>"User {User} logged in from {Address}"</code></param>
<param name="args">An object array that contains zero or more objects to format.</param>
<returns>A disposable scope object. Can be null.</returns>
<example>
using(logger.BeginScope("Processing request from {Address}", address))
{
}
</example>
</member>
<member name="T:Microsoft.Extensions.Logging.LoggerExternalScopeProvider">
<summary>
Default implemenation of <see cref="T:Microsoft.Extensions.Logging.IExternalScopeProvider"/>
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExternalScopeProvider.ForEachScope``1(System.Action{System.Object,``0},``0)">
<inheritdoc />
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerExternalScopeProvider.Push(System.Object)">
<inheritdoc />
</member>
<member name="T:Microsoft.Extensions.Logging.LoggerFactoryExtensions">
<summary>
ILoggerFactory extension methods for common scenarios.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerFactoryExtensions.CreateLogger``1(Microsoft.Extensions.Logging.ILoggerFactory)">
<summary>
Creates a new ILogger instance using the full name of the given type.
</summary>
<typeparam name="T">The type.</typeparam>
<param name="factory">The factory.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerFactoryExtensions.CreateLogger(Microsoft.Extensions.Logging.ILoggerFactory,System.Type)">
<summary>
Creates a new ILogger instance using the full name of the given type.
</summary>
<param name="factory">The factory.</param>
<param name="type">The type.</param>
</member>
<member name="T:Microsoft.Extensions.Logging.LoggerMessage">
<summary>
Creates delegates which can be later cached to log messages in a performant way.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope(System.String)">
<summary>
Creates a delegate which can be invoked to create a log scope.
</summary>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log scope.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope``1(System.String)">
<summary>
Creates a delegate which can be invoked to create a log scope.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log scope.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope``2(System.String)">
<summary>
Creates a delegate which can be invoked to create a log scope.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log scope.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.DefineScope``3(System.String)">
<summary>
Creates a delegate which can be invoked to create a log scope.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log scope.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``2(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``3(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``4(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
<typeparam name="T4">The type of the fourth parameter passed to the named format string.</typeparam>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``5(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
<typeparam name="T4">The type of the fourth parameter passed to the named format string.</typeparam>
<typeparam name="T5">The type of the fifth parameter passed to the named format string.</typeparam>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.LoggerMessage.Define``6(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,System.String)">
<summary>
Creates a delegate which can be invoked for logging a message.
</summary>
<typeparam name="T1">The type of the first parameter passed to the named format string.</typeparam>
<typeparam name="T2">The type of the second parameter passed to the named format string.</typeparam>
<typeparam name="T3">The type of the third parameter passed to the named format string.</typeparam>
<typeparam name="T4">The type of the fourth parameter passed to the named format string.</typeparam>
<typeparam name="T5">The type of the fifth parameter passed to the named format string.</typeparam>
<typeparam name="T6">The type of the sixth parameter passed to the named format string.</typeparam>
<param name="logLevel">The <see cref="T:Microsoft.Extensions.Logging.LogLevel"/></param>
<param name="eventId">The event id</param>
<param name="formatString">The named format string</param>
<returns>A delegate which when invoked creates a log message.</returns>
</member>
<member name="T:Microsoft.Extensions.Logging.Logger`1">
<summary>
Delegates to a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance using the full name of the given type, created by the
provided <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/>.
</summary>
<typeparam name="T">The type.</typeparam>
</member>
<member name="M:Microsoft.Extensions.Logging.Logger`1.#ctor(Microsoft.Extensions.Logging.ILoggerFactory)">
<summary>
Creates a new <see cref="T:Microsoft.Extensions.Logging.Logger`1"/>.
</summary>
<param name="factory">The factory.</param>
</member>
<member name="T:Microsoft.Extensions.Logging.LogLevel">
<summary>
Defines logging severity levels.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.Trace">
<summary>
Logs that contain the most detailed messages. These messages may contain sensitive application data.
These messages are disabled by default and should never be enabled in a production environment.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.Debug">
<summary>
Logs that are used for interactive investigation during development. These logs should primarily contain
information useful for debugging and have no long-term value.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.Information">
<summary>
Logs that track the general flow of the application. These logs should have long-term value.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.Warning">
<summary>
Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the
application execution to stop.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.Error">
<summary>
Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a
failure in the current activity, not an application-wide failure.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.Critical">
<summary>
Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires
immediate attention.
</summary>
</member>
<member name="F:Microsoft.Extensions.Logging.LogLevel.None">
<summary>
Not used for writing log messages. Specifies that a logging category should not write any messages.
</summary>
</member>
</members>
</doc>

@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualBasic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace BeAUserSync
{
class db
{
string Connectionstring = "";
public DataSet dsdaten = new DataSet();
private SqlDataAdapter dadaten;
public db()
{
if (this.Connectionstring == "")
this.Connectionstring = Get_Connectionstring();
}
public string Get_Connectionstring()
{
return Properties.Settings.Default.connectionstring;
}
public void Get_Tabeldata_for_Update(string Tablename, bool StoredProc = false, bool is_SQL_String = false)
{
dsdaten.Clear();
dsdaten.Tables.Clear();
dadaten = new SqlDataAdapter(Tablename, this.Connectionstring);
dadaten.Fill(dsdaten, Tablename);
}
public void Update_Tabeldata()
{
SqlCommandBuilder cb = new SqlCommandBuilder(dadaten);
dadaten.Update(dsdaten, dsdaten.Tables[0].TableName);
}
}
}

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

@ -0,0 +1 @@
fa02f8a1ba8eaa6d3ca38776ae55054fa2212873

@ -0,0 +1,10 @@
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\obj\Debug\BeAUserSync.csproj.CoreCompileInputs.cache
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\bin\Debug\BeAUserSync.exe.config
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\bin\Debug\BeAUserSync.exe
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\bin\Debug\BeAUserSync.pdb
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\obj\Debug\BeAUserSync.exe
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\obj\Debug\BeAUserSync.pdb
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\bin\Debug\Microsoft.Extensions.Logging.Abstractions.dll
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\bin\Debug\Microsoft.Extensions.Logging.Abstractions.xml
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\obj\Debug\BeAUserSync.csproj.CopyComplete
E:\Software-Projekte\TKBDiverse\BEA\BeAUserSync\obj\Debug\BeAUserSync.csprojAssemblyReference.cache

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Galactic.ActiveDirectory" version="1.3.0.499" targetFramework="net472" />
<package id="Galactic.Configuration" version="1.3.0.499" targetFramework="net472" />
<package id="Galactic.Cryptography" version="1.3.0.499" targetFramework="net472" />
<package id="Galactic.EventLog" version="1.3.0.499" targetFramework="net472" />
<package id="Galactic.FileSystem" version="1.3.0.499" targetFramework="net472" />
<package id="Galactic.LDAP" version="1.3.0.499" targetFramework="net472" />
<package id="Horseshoe.NET" version="1.2.1" targetFramework="net472" />
<package id="Horseshoe.NET.ActiveDirectory" version="1.2.1" targetFramework="net472" />
<package id="Microsoft.Extensions.Logging.Abstractions" version="2.2.0" targetFramework="net472" />
</packages>

@ -0,0 +1,47 @@
INSERT [dbo].[Auswertung] ([AuswertungNr], [Bezeichnung], [Aktiv], [Erstellt_am], [Mutiert_am], [Mutierer], [Report], [Filename], [Excel_Report], [SQL], [SQLType], [Beschreibung], [Connectionstring_Subreport]) VALUES (20, N'E-Mail-Log', 1, CAST(N'2021-05-17T19:44:33.317' AS DateTime), CAST(N'2021-05-17T19:47:32.907' AS DateTime), 1, 0, N' ', 1, N'select top 1000 * from Maillog order by id desc', N'SQL', N'E-Mail-Log', N'')
GO
INSERT [dbo].[Auswertung] ([AuswertungNr], [Bezeichnung], [Aktiv], [Erstellt_am], [Mutiert_am], [Mutierer], [Report], [Filename], [Excel_Report], [SQL], [SQLType], [Beschreibung], [Connectionstring_Subreport]) VALUES (21, N'AD-Log', 1, CAST(N'2021-05-17T19:45:06.690' AS DateTime), CAST(N'2021-05-17T19:47:37.967' AS DateTime), 1, 0, N'', 1, N'select top 1000 * from adlog order by id desc', N'SQL', N'AD-Abgleich-Log', NULL)
GO
INSERT [dbo].[MailTexte] ([id], [Beschreibung], [Betreff], [Inhalt], [erstellt_am], [mutiert_am], [mutierer], [aktiv]) VALUES (2, N'Mail 14 Tage vor Ablauf Temp. Berechtgung', N'Temporäre Berechtigung läuft in 14 Tagen ab', N'Guten Tag
Du bist verantwortlich für die temporäre Berechtigung "@Fnktstelle" für @Name. Die temporäre Berechtigung läuft am @Termin ab.
Ist diese temporäre Berechtigung noch länger nötig? Bitte erfasse einen entsprechenden Auftrag im TicketXPert (Ticketschema: WPI Auftrag). Wenn keine Verlängerung via Ticket beantragt wird, wird diese Berechtigung nach Ablauf gelöscht.
Besten Dank und Grüsse,
IT Service Desk
Dies ist eine automatisch generierte Mail, bitte antworte nicht auf diese Nachricht. Nachrichten in diesem Postfach werden nicht bearbeitet.', CAST(N'2021-05-17T16:58:35.090' AS DateTime), CAST(N'2021-05-19T13:35:39.970' AS DateTime), 1, 1)
GO
INSERT [dbo].[MailTexte] ([id], [Beschreibung], [Betreff], [Inhalt], [erstellt_am], [mutiert_am], [mutierer], [aktiv]) VALUES (3, N'Mail 5 Tage vor Ablauf Temp. Berechtigun', N'Erneute Erinnerung - temporäre Berechtigung läuft demnächst ab', N'Guten Tag
Du bist verantwortlich für die temporäre Berechtigung "@Fnktstelle" für @Name. Die temporäre Berechtigung läuft am @Termin ab.
Ist diese temporäre Berechtigung noch länger nötig? Bitte erfasse einen entsprechenden Auftrag im TicketXPert (Ticketschema: WPI Auftrag). Wenn keine Verlängerung via Ticket beantragt wird, wird diese Berechtigung nach Ablauf gelöscht.
Besten Dank und Grüsse,
IT Service Desk
Dies ist eine automatisch generierte Mail, bitte antworte nicht auf diese Nachricht. Nachrichten in diesem Postfach werden nicht bearbeitet.', CAST(N'2021-05-17T16:58:47.033' AS DateTime), CAST(N'2021-05-19T13:35:48.657' AS DateTime), 1, 1)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (260, N'mailtexte', N'id', N'ID', 1, 0, 50, 1, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (261, N'mailtexte', N'beschreibung', N'Beschreibung', 0, 0, 200, 2, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (262, N'mailtexte', N'inhalt', N'Inhalt', 0, 0, 300, 4, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (263, N'mailtexte', N'erstellt_am', N'Erstellt am', 1, 0, 80, 5, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (264, N'mailtexte', N'mutiert_am', N'Mutiert am', 1, 0, 80, 6, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (265, N'mailtexte', N'aktiv', N'Aktiv', 0, 1, 50, 7, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (266, N'mailtexte', N'mutierer', N'Mut.', 1, 0, 50, 8, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[spalten] ([eintragnr], [tabelle], [tabellenspalte], [spalte], [Readonly], [alsHacken], [Breite], [Reihenfolge], [tiptext], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [mandantnr], [NumberFormat]) VALUES (267, N'mailtexte', N'betreff', N'Betreff', 0, 0, 150, 3, N'', 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, 1, NULL)
GO
INSERT [dbo].[sysadminfunktion] ([sysadminfnktnr], [bezeichnung], [ParentID], [Sort], [ImageIndex], [ImageIndexOpen], [ftop], [fleft], [fwidth], [fheight], [beschreibung], [mandantnr], [sprache], [aktiv], [erstellt_am], [mutiert_am], [mutierer], [Domaintable], [KeyFields]) VALUES (30, N'Mail-Texte', 2, 26, 3, 3, 0, 0, 1000, 800, N'', 1, 1, 1, CAST(N'2021-05-17T00:00:00.000' AS DateTime), CAST(N'2021-05-17T00:00:00.000' AS DateTime), 1, N'mailtexte', N'')
GO

File diff suppressed because it is too large Load Diff

@ -25,6 +25,7 @@ Partial Class AllgMainObjekte
Me.components = New System.ComponentModel.Container()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(AllgMainObjekte))
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.cbboxVerantwTKBMA = New DevComponents.DotNetBar.Controls.ComboBoxEx()
Me.dtPickernaechstePruefung = New System.Windows.Forms.DateTimePicker()
Me.txtnaechstePruefung = New System.Windows.Forms.MaskedTextBox()
Me.lblnaechstepruefung = New System.Windows.Forms.Label()
@ -77,7 +78,8 @@ Partial Class AllgMainObjekte
Me.ctxMenuBeziehungen = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.InEinemNeuenFensterÖffnenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
Me.Beziehungen1 = New _MyBeziehungen.Beziehungen()
Me.cbboxVerantwTKBMA = New DevComponents.DotNetBar.Controls.ComboBoxEx()
Me.txtMail = New System.Windows.Forms.TextBox()
Me.lblEmail = New System.Windows.Forms.Label()
Me.GroupBox2.SuspendLayout()
Me.ctxMenuAktiv.SuspendLayout()
CType(Me.txtSequenz, System.ComponentModel.ISupportInitialize).BeginInit()
@ -87,6 +89,8 @@ Partial Class AllgMainObjekte
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.lblEmail)
Me.GroupBox2.Controls.Add(Me.txtMail)
Me.GroupBox2.Controls.Add(Me.cbboxVerantwTKBMA)
Me.GroupBox2.Controls.Add(Me.dtPickernaechstePruefung)
Me.GroupBox2.Controls.Add(Me.txtnaechstePruefung)
@ -136,6 +140,18 @@ Partial Class AllgMainObjekte
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "Allgemein"
'
'cbboxVerantwTKBMA
'
Me.cbboxVerantwTKBMA.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
Me.cbboxVerantwTKBMA.DisplayMember = "Text"
Me.cbboxVerantwTKBMA.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed
Me.cbboxVerantwTKBMA.FormattingEnabled = True
Me.cbboxVerantwTKBMA.ItemHeight = 14
Me.cbboxVerantwTKBMA.Location = New System.Drawing.Point(543, 193)
Me.cbboxVerantwTKBMA.Name = "cbboxVerantwTKBMA"
Me.cbboxVerantwTKBMA.Size = New System.Drawing.Size(187, 20)
Me.cbboxVerantwTKBMA.TabIndex = 47
'
'dtPickernaechstePruefung
'
Me.dtPickernaechstePruefung.Location = New System.Drawing.Point(608, 165)
@ -596,17 +612,21 @@ Partial Class AllgMainObjekte
Me.Beziehungen1.TempFilePath = Nothing
Me.Beziehungen1.Type = Nothing
'
'cbboxVerantwTKBMA
'txtMail
'
Me.cbboxVerantwTKBMA.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
Me.cbboxVerantwTKBMA.DisplayMember = "Text"
Me.cbboxVerantwTKBMA.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed
Me.cbboxVerantwTKBMA.FormattingEnabled = True
Me.cbboxVerantwTKBMA.ItemHeight = 14
Me.cbboxVerantwTKBMA.Location = New System.Drawing.Point(543, 193)
Me.cbboxVerantwTKBMA.Name = "cbboxVerantwTKBMA"
Me.cbboxVerantwTKBMA.Size = New System.Drawing.Size(187, 20)
Me.cbboxVerantwTKBMA.TabIndex = 47
Me.txtMail.Location = New System.Drawing.Point(662, 44)
Me.txtMail.Name = "txtMail"
Me.txtMail.Size = New System.Drawing.Size(150, 20)
Me.txtMail.TabIndex = 48
'
'lblEmail
'
Me.lblEmail.AutoSize = True
Me.lblEmail.Location = New System.Drawing.Point(630, 47)
Me.lblEmail.Name = "lblEmail"
Me.lblEmail.Size = New System.Drawing.Size(26, 13)
Me.lblEmail.TabIndex = 49
Me.lblEmail.Text = "Mail"
'
'AllgMainObjekte
'
@ -680,4 +700,6 @@ Partial Class AllgMainObjekte
Friend WithEvents txtnaechstePruefung As MaskedTextBox
Friend WithEvents lblnaechstepruefung As Label
Friend WithEvents cbboxVerantwTKBMA As DevComponents.DotNetBar.Controls.ComboBoxEx
Friend WithEvents lblEmail As Label
Friend WithEvents txtMail As TextBox
End Class

@ -112,18 +112,18 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ctxMenuAktiv.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ctxMenuAktiv.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>462, 17</value>
</metadata>
<metadata name="ToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="TSBtnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
@ -175,19 +175,19 @@
<data name="TSBtnSetSecurityObject.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKvSURBVDhPvY5bSJNhHMa/XKcbE4PKQIIgrPS7SrST4UUg
YlF4YUUhKoqWZTZtJ5u9njZtM/087HPTTWNm6ubmaiO1tT4zJuoMRaekbk7zfCFM6qKj/7bxmawD3fWD
9+J5n/8PHuy/Es4NieJ23nkTKgvdRn95o1Kptg8ODSVaLJZqo9FU1NraGuwpEOZzrinCP1wQlMyiUtZi
GsICTukO+3q6DYxGo9+odczS19f3yfiKeq3XdzraNO1fpNK6y0cEgfj9t2nLaCTeidoT1nkDl1Yuqk+b
sEhsK61jWH+/haAoakWr1Qa5s2sNg6yR1YvED53B1w4Eh6QxZFES35fp1J7Px1gM+cEEn3tYHMbwyG5M
JtN0m1ZXQEcPHA7Hj8XinQGALUJmcnRksW8i37rTeSgD20GfbKJW6xxyeX0+HX8yqpGFzXSpexc6GkEo
jH12grW71mv6BiQplYhElcsZGWiXO1say/bbX6ge9ZjU35d0MlhQV8EUiT6mxIYHeoRf4fEE+9jsvDVm
JpOYfN7MdRg0H5b1Clhsk8B8cznMNT6A2foiGC7nPKaV31GIBQ1WfROsdChhUUOCmJkGJTcT4X2DEGbr
8sFRkwsGxFnvzk09SSubGKpRgPUp+rbULoUFVSXMN5VC5e0kiIk4DqMEBxySHLBXsGGylAndOUnNtObN
iKK4dv5JGcwpS2BWUQgzMgTRoSHQeOsK2MqyYaw44WsvP6XCwL3qTyvemMXZe60Ecs7U5rnm8mG6igu2
8rswIcqEAZTa2c2OP0qf/h2LKCvL7hLtBAumXHMHC65P9HCTztP1v1GhuO2DhenvhtENp5mfnO3OdPVn
bDYbbjabcb1ejyuVSpwkSVxWwL9A5PLOIiTA3U8gEONigsBJuRxvadHgXRSFj4+P46urq/gP8XZY2IdU
G+AAAAAASUVORK5CYII=
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKvSURBVDhPvY5bSFNxHMdPrtuLiUFlIEEQVnqeEu1m+BCI
WBQ+WFGIiqJlmU3bzWbH25m2mR4vO266aWyZurm5OpLaWkeLiTpD0Smpm9O8PwiTeujqr20ck3Whtz7w
f/j+v78PfJH/Sjg/JIrfeedNqDx0G/PljUaj2T44NJRosViqjUZTUUtLS7CnwBCfc40R/uF4UDKHTlmL
aQgLOGU47OvpNjAajX6j1jFLX1/fJ+MruoeiOh2turYvMlnd5SN4IHr/bdoyNhLvxPQJ64KBSysXtadN
SCSyldERpL/fQtA0vaLX64Pc2bWGRdbI68WSh87gaweCQ9JY8iip78t0es/nYxyW4mCCzz0kDmF5ZDcm
k2m6VW8oYKIHHo/nx+EIzgDAFhE7OTqy2DdRaN3pPJSB7GBONtFqDQ6Foj6fiT8Z1cnDZrq0vQsdahCJ
Yp+d4Oyu9Zq+AUnKpGJx5XJGBrbLnS3qsv32F5pHPSbt9yWDHBa0VTBFYh9TYsMDPcKvCAT4Pi43b42d
ySYmnzfxHe26D8uUEhZbpTDfVA5z6gcwW18Ew+W8x4zyO0oJ3mClGmGlQwWLOhIk7DQouZkI7xtEMFuX
D46aXKAw3np3bupJRtmkvRoLsD7Fvi21yWBBUwnzjaVQeTsJYiKOwyjBA4c0B+wVXJgsZUN3TlITo3kz
oiyunX9SBnOqEphVFsKMHIPo0BBQ37oCtrJsGCtO+NorTKlo51/1ZxRvzJLsvVYCc87U5rnmCmG6ig+2
8rswIc6EASy1s5sbf5Q5/TsWcVaW3SXaCQ5MueYOFlyfeM1POs/U/0aDxW0fLEx/N4zdcJqFydnuzFR/
xmazoWazGaUoClWpVChJkqi8QHiByBWcxTAcdT8cl6ASgkBJhQJtbtahXTSNjo+Po6urq+gP6p1Y1cYg
GAYAAAAASUVORK5CYII=
</value>
</data>
<data name="tsbtnReport.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -207,16 +207,16 @@
<data name="tsbtncopy1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIeSURBVDhPjZPPb9JgGMeJevHgwYNnb8Z40f+AxX9ALxw8
4o0Jh84Q4olkWbI4TIzLEgNTmBnzRzcE7GgLBdpCV0bXsnaD0ene4E0PXowns/jEt/CSdwY0fm593uf7
eZ/nTer7F/F4/FwwGLwSiURuxGIPZ0Kh0GVy9Hf8fv+FZpM/cN3G18HAOjX3eOgfKWCZArDseyMajV4i
rdMJBALnNVn+hVwF0LEK6GMT0CcNej0ZqtUabAuiwjDMRdJOSSQWb29srIa54ttFx5G/N5QcyPUtyKRX
wO6UodetQ6GQA54vQjqdTJIYxdqVtNGtDTj9+fnYuxWd7IAkcZDP58C2ysNJvJphVPIkRjF0sYr6Mowl
49HlOg+63oJM5gU4+yOJ3VHfkRilpXAcOqoDlYz2Nw0e2u0SOI4EGl7Lq+3tSuskRmnWipuoW4NpkvHo
eiM/rLVblZckRqmJuXV0KAHqVgH1PNFZCV4JS3QVT4BrOw3+OYlRqjybQgcVmJD0qURXtoY1vVl6RmKU
8oc3y8gRYVLirYQlrgq6vDmsKVIhQWKUUi67hGwBRhL82lMkpiZ8sXShnH2VukNilAK7No86PKB9LLHH
EjzNGcnCQvwWaZ+Eza4+QtY2/CFxsASv5OLvwUn7x9zcg2ukfZK15DKDTA4ONfzStvrN1EqSyL1eSq08
vRcOh697fyZpnU6MYW4+eTx/d3b2/lVS+g98vt8nzfXKHzEqRAAAAABJRU5ErkJggg==
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIbSURBVDhPjZPLbxJRFIeJunHhwoVrd8a40f8A4z+gGxYu
cUeFxdQQ4oqkadJYTIzVxAApqSn1MVCg0BmGGeYBw1DeDI8C1Wtwpws3xpVpPPHOcMmtAY3fbs6c33fO
mWQc/yIYDJ5zu91XfD7fjUDg0W2Px3OZvPo7Tqfzgq7z/cmk/HU6bZ82GxyMjlVoNXlg2VTD7/dfIq3L
cblc53VV/YXGKqCJBuikDOiDDsOhApJUhMO8oDEMc5G0U0KhjTt7e1Fv7uDdRq+nfi+pSVDkBMS2X0C3
LcBwIEM6nQSOy0AsFg6TGKVdkyqzqSU4/fn5xJqKPlZAFLOQSiWh2xLsTaxaoyGmSYzSqApFNFJgLpmv
rsgcGEYVT42C2ZlJzE7pPYlRjrRcDh3LQCWz+5t1Dmq1QzBNEXR8ll2rSbskRtHlgwQaFGGZZL66UUrZ
tfqRuE1iFFnY30V9EdBAAjS0RGcl+CQsMTS8Aa4ZZf4ViVGKPBtBvQIsSEZUYqgJu1bVueckRilk324h
Mw+LEuskLBlrYCisXdOkTIjEKNx+fBN1eZhJ8NdeImlV8l/a1Xwh/jpyl8QoGXZnDbU5QB0s6c4leJsz
kvX14C3Svggbjz5GrRz8ITGxBJ80xs9TVP+xuvrwGmlfZCe8xaBmFvp6Ej6ZpW+tCicJuTebkZfP7nu9
3uvWn0lalxNgmJtPn6zdW1l5cJWU/gOH4zeErvR/o5VWkgAAAABJRU5ErkJggg==
</value>
</data>
<data name="tsbtnCopy2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -232,7 +232,7 @@
qkQ53DIyZRg/yW2pDIFIxosAAAAASUVORK5CYII=
</value>
</data>
<metadata name="ctxMenuBeziehungen.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ctxMenuBeziehungen.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>293, 17</value>
</metadata>
</root>

@ -347,6 +347,8 @@ Public Class AllgMainObjekte
Me.cbboxDateneigentuemer.Visible = False
Me.lblCID.Visible = False
Me.cbCID.Visible = False
Me.lblEmail.Visible = False
Me.txtMail.Visible = False
'20200114 - Erweiterungen
Me.lblVerantwTKBMA.Visible = False
@ -462,6 +464,8 @@ Public Class AllgMainObjekte
'Case 3 'PLATTFORM
Case 2 'PERSONAL
VerantwTKBMa = Datenklasse.Get_Stammdaten("Personal", "Bezeichznung")
Me.lblEmail.Visible = True
Me.txtMail.Visible = True
Me.tsbtncopy1.Visible = True
Me.tsbtncopy1.Visible = True
Me.lblName.Visible = True
@ -477,6 +481,7 @@ Public Class AllgMainObjekte
Me.txtnaechstePruefung.Visible = True
Me.dtPickernaechstePruefung.Visible = True
Me.txtnaechstePruefung.Text = DBObject.snextcontroldate.ToString
Me.txtMail.Text = DBObject.semail.ToString
Me.txtVerantwTKBMa.Text = DBObject.sverantwTKBma.ToString
Me.cbboxVerantwTKBMA.DataSource = VerantwTKBMa
Me.cbboxVerantwTKBMA.DisplayMember = "Bezeichnung"
@ -657,13 +662,13 @@ Public Class AllgMainObjekte
If f.cbTemporaer.Checked = True Then
If DBObjektname = "_DataClass.db.Personal_FunktionStelle" Then
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, i, 0)
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, i, 0, f.cbboxKontaktFB.SelectedValue)
End If
If DBObjektname = "_DataClass.db.Personal_Berechtigung" Then
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, i, 1)
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, i, 1, f.cbboxKontaktFB.SelectedValue)
End If
If DBObjektname = "_DataClass.db.Personal_Plattform" Then
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, i, 2)
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, i, 2, f.cbboxKontaktFB.SelectedValue)
End If
End If
@ -832,6 +837,7 @@ Public Class AllgMainObjekte
DBObject.stgnummer = New SqlString(CType(Me.txtTGNummer.Text, String))
DBObject.sVerantwTKBMA = New SqlString(CType(Me.txtVerantwTKBMa.Text, String))
DBObject.sNextControlDate = New SqlString(CType(Me.txtnaechstePruefung.Text, String))
DBObject.sEMail = New SqlString(CType(Me.txtMail.Text, String))
If Me.cbboxVerantwTKBMA.SelectedValue = 0 Then
DBObject.sVerantwTKBMA = New SqlString(CType("", String))
Else
@ -960,7 +966,13 @@ Public Class AllgMainObjekte
f.TextBox1.Text = dt.Rows(0).Item("Beschreibung")
f.TextBox2.Text = dt.Rows(0).Item("Unterlagen")
f.TextBox3.Text = dt.Rows(0).Item("Bearbeiter_Isi")
f.TextBox4.Text = dt.Rows(0).Item("Kontaktperson_FB")
f.TextBox4.Text = dt.Rows(0).Item("Kontaktperson_FB").ToString
Try
f.Kontaktid = dt.Rows(0).Item("KontaktID")
Catch
f.Kontaktid = 0
End Try
f.DateTimePicker1.Value = dt.Rows(0).Item("termin")
Else
f.Panel2.Height = 1
@ -976,7 +988,7 @@ Public Class AllgMainObjekte
DBObjekt.ibeziehungstypnr = New SqlInt32(CType(f.cbbeziehungstyp.SelectedValue, Int32))
DBObjekt.save_data()
If is_temporaer = True And f.cbAktiv.Checked = True Then
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, Keyvalue, 0)
Datenklasse.Update_Temporaer_Berechtigung(f.TextBox1.Text, f.TextBox2.Text, f.TextBox3.Text, f.TextBox4.Text, f.DateTimePicker1.Value, Keyvalue, 0, f.cbboxKontaktFB.SelectedValue)
End If
End If
DBObjekt.dispose()

@ -49,6 +49,7 @@ Partial Class frmBeziehungEdit
Me.Panel3 = New System.Windows.Forms.Panel()
Me.ContextMenuStrip1 = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.tsmnuSecurityObjekte = New System.Windows.Forms.ToolStripMenuItem()
Me.cbboxKontaktFB = New DevComponents.DotNetBar.Controls.ComboBoxEx()
CType(Me.txtSeqeunz, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Panel1.SuspendLayout()
Me.Panel2.SuspendLayout()
@ -162,6 +163,7 @@ Partial Class frmBeziehungEdit
'
'Panel2
'
Me.Panel2.Controls.Add(Me.cbboxKontaktFB)
Me.Panel2.Controls.Add(Me.Label5)
Me.Panel2.Controls.Add(Me.DateTimePicker1)
Me.Panel2.Controls.Add(Me.Label4)
@ -216,9 +218,9 @@ Partial Class frmBeziehungEdit
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(7, 133)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(71, 13)
Me.Label3.Size = New System.Drawing.Size(73, 13)
Me.Label3.TabIndex = 17
Me.Label3.Text = "Bearbeiter ISI"
Me.Label3.Text = "Bearbeiter SD"
'
'TextBox3
'
@ -284,6 +286,18 @@ Partial Class frmBeziehungEdit
Me.tsmnuSecurityObjekte.Size = New System.Drawing.Size(160, 22)
Me.tsmnuSecurityObjekte.Text = "Security Objekte"
'
'cbboxKontaktFB
'
Me.cbboxKontaktFB.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
Me.cbboxKontaktFB.DisplayMember = "Text"
Me.cbboxKontaktFB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed
Me.cbboxKontaktFB.FormattingEnabled = True
Me.cbboxKontaktFB.ItemHeight = 14
Me.cbboxKontaktFB.Location = New System.Drawing.Point(85, 156)
Me.cbboxKontaktFB.Name = "cbboxKontaktFB"
Me.cbboxKontaktFB.Size = New System.Drawing.Size(230, 20)
Me.cbboxKontaktFB.TabIndex = 49
'
'frmBeziehungEdit
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
@ -331,4 +345,5 @@ Partial Class frmBeziehungEdit
Friend WithEvents Panel3 As System.Windows.Forms.Panel
Friend WithEvents ContextMenuStrip1 As System.Windows.Forms.ContextMenuStrip
Friend WithEvents tsmnuSecurityObjekte As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents cbboxKontaktFB As DevComponents.DotNetBar.Controls.ComboBoxEx
End Class

@ -112,15 +112,15 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAkAAAAAAAEAIAAoIAQAlgAAAICAAAABACAAKAgBAL4gBABgYAAAAQAgAKiUAADmKAUASEgAAAEA

@ -1,7 +1,9 @@
Public Class frmBeziehungEdit
Dim kontaktfb As New DataTable
Dim dc As New _DataClass.DataClass
Dim sec As New Utils.MySecurity
Dim Datenklasse As New _DataClass.DataClass
Public Kontaktid As Integer = 0
Private Sub btnOK_Click(sender As Object, e As EventArgs) Handles btnOK.Click
Me.DialogResult = Windows.Forms.DialogResult.OK
@ -14,6 +16,11 @@
End Sub
Private Sub frmBeziehungEdit_Load(sender As Object, e As EventArgs) Handles MyBase.Load
kontaktfb = Datenklasse.Get_Stammdaten("Personal", "Bezeichznung")
Me.cbboxKontaktFB.DataSource = kontaktfb
Me.cbboxKontaktFB.DisplayMember = "Bezeichnung"
Me.cbboxKontaktFB.ValueMember = "Keyvalue"
Me.cbboxKontaktFB.SelectedValue = Me.Kontaktid
sec.Set_Form_Security(Me)
End Sub

@ -52,6 +52,7 @@ Partial Class frmNeueBeziehung
Me.Panel3 = New System.Windows.Forms.Panel()
Me.ContextMenuStrip1 = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.SecurityObjekte = New System.Windows.Forms.ToolStripMenuItem()
Me.cbboxKontaktFB = New DevComponents.DotNetBar.Controls.ComboBoxEx()
CType(Me.txtSeqeunz, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Panel1.SuspendLayout()
Me.Panel2.SuspendLayout()
@ -193,6 +194,7 @@ Partial Class frmNeueBeziehung
'
'Panel2
'
Me.Panel2.Controls.Add(Me.cbboxKontaktFB)
Me.Panel2.Controls.Add(Me.Label5)
Me.Panel2.Controls.Add(Me.DateTimePicker1)
Me.Panel2.Controls.Add(Me.Label4)
@ -247,9 +249,9 @@ Partial Class frmNeueBeziehung
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(7, 133)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(71, 13)
Me.Label3.Size = New System.Drawing.Size(73, 13)
Me.Label3.TabIndex = 17
Me.Label3.Text = "Bearbeiter ISI"
Me.Label3.Text = "Bearbeiter SD"
'
'TextBox3
'
@ -314,11 +316,23 @@ Partial Class frmNeueBeziehung
Me.SecurityObjekte.Size = New System.Drawing.Size(162, 22)
Me.SecurityObjekte.Text = "Secuirty-Objekte"
'
'cbboxKontaktFB
'
Me.cbboxKontaktFB.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
Me.cbboxKontaktFB.DisplayMember = "Text"
Me.cbboxKontaktFB.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed
Me.cbboxKontaktFB.FormattingEnabled = True
Me.cbboxKontaktFB.ItemHeight = 14
Me.cbboxKontaktFB.Location = New System.Drawing.Point(85, 156)
Me.cbboxKontaktFB.Name = "cbboxKontaktFB"
Me.cbboxKontaktFB.Size = New System.Drawing.Size(230, 20)
Me.cbboxKontaktFB.TabIndex = 48
'
'frmNeueBeziehung
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(337, 275)
Me.ClientSize = New System.Drawing.Size(337, 502)
Me.ContextMenuStrip = Me.ContextMenuStrip1
Me.Controls.Add(Me.Panel3)
Me.Controls.Add(Me.Panel2)
@ -364,4 +378,5 @@ Partial Class frmNeueBeziehung
Friend WithEvents Panel3 As System.Windows.Forms.Panel
Friend WithEvents ContextMenuStrip1 As System.Windows.Forms.ContextMenuStrip
Friend WithEvents SecurityObjekte As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents cbboxKontaktFB As DevComponents.DotNetBar.Controls.ComboBoxEx
End Class

@ -112,15 +112,15 @@
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAkAAAAAAAEAIAAoIAQAlgAAAICAAAABACAAKAgBAL4gBABgYAAAAQAgAKiUAADmKAUASEgAAAEA

@ -3,6 +3,8 @@
Dim dc As New _DataClass.DataClass
Dim sec As New Utils.MySecurity
Dim m_temporaer As Boolean
Dim Datenklasse As New _DataClass.DataClass
Dim kontaktfb As New DataTable
Property Temporaer As Boolean
Get
Return m_temporaer
@ -14,6 +16,11 @@
Private Sub frmNeueBeziehung_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Panel2.Height = 1
kontaktfb = Datenklasse.Get_Stammdaten("Personal", "Bezeichznung")
Me.cbboxKontaktFB.DataSource = kontaktfb
Me.cbboxKontaktFB.DisplayMember = "Bezeichnung"
Me.cbboxKontaktFB.ValueMember = "Keyvalue"
sec.Set_Form_Security(Me)
End Sub

@ -1 +1 @@
80f28b5de5e450653f6d52ba6c9254e4e0b6b37f
e9d11d344ded2227a28f82b050c968387ed86e2c

@ -9,7 +9,6 @@ E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\_Generic_Event_Ha
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\_MyBeziehungen.dll
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\FastReport.dll
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\FastReport.Bars.dll
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\System.Windows.Forms.DataVisualization.dll
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\FastReport.Editor.dll
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\_MyBeziehungen.pdb
E:\Software-Projekte\TKBDiverse\BEA\_AllgMainObjekte\bin\Debug\_MyBeziehungen.xml

@ -9,10 +9,10 @@ Namespace DB
#Region " Class Member Declarations "
Private m_bAktiv As SqlBoolean
Private m_bAktiv As SqlBoolean
Private m_daErstellt_am, m_daMutiert_am As SqlDateTime
Private m_iSequenz, m_iMutierer, m_iPersonalnr, m_iParentID As SqlInt32
Private m_sNextControlDate, m_sVerantwTKBMA, m_sTGNummer, m_sName, m_sBezeichnung, m_sBeschreibung As SqlString
Private m_sNextControlDate, m_sVerantwTKBMA, m_sEMail, m_sBeschreibung, m_sTGNummer, m_sName, m_sBezeichnung As SqlString
#End Region
@ -44,6 +44,7 @@ Namespace DB
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sVerantwTKBMA", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sVerantwTKBMA))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sNextControlDate", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sNextControlDate))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sEMail", SqlDbType.VarChar, -1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sEMail))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
@ -100,6 +101,7 @@ Namespace DB
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sVerantwTKBMA", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sVerantwTKBMA))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sNextControlDate", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sNextControlDate))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sEMail", SqlDbType.VarChar, -1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sEMail))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
@ -272,6 +274,11 @@ Namespace DB
Else
m_sNextControlDate = New SqlString(CType(dtToReturn.Rows(0)("NextControlDate"), String))
End If
If dtToReturn.Rows(0)("EMail") Is System.DBNull.Value Then
m_sEMail = SqlString.Null
Else
m_sEMail = New SqlString(CType(dtToReturn.Rows(0)("EMail"), String))
End If
End If
Return dtToReturn
Catch ex As Exception
@ -469,6 +476,16 @@ Namespace DB
End Set
End Property
Public Property [sEMail]() As SqlString
Get
Return m_sEMail
End Get
Set(ByVal Value As SqlString)
m_sEMail = Value
End Set
End Property
#End Region
End Class

@ -271,7 +271,7 @@ Public Class DataClass
Return fs.Get_aktives_Personal
End Function
Public Function Update_Temporaer_Berechtigung(beschreibung As String, unterlagen As String, bearbeiter As String, kontakt As String, termin As String, keyvalue As Integer, ByVal Datatype As Integer)
Public Function Update_Temporaer_Berechtigung(beschreibung As String, unterlagen As String, bearbeiter As String, kontakt As String, termin As String, keyvalue As Integer, ByVal Datatype As Integer, Optional kontaktid As Integer = 0)
Dim selectcommand As New SqlCommand
Dim connection As New SqlConnection()
Dim da As New SqlDataAdapter("", connection)
@ -285,6 +285,8 @@ Public Class DataClass
selectcommand.Parameters.Add("@KeyValue", SqlDbType.Int, 4)
selectcommand.Parameters.Add("@Mitarbeiternr", SqlDbType.Int, 4)
selectcommand.Parameters.Add("@Datatype", SqlDbType.Int, 4)
selectcommand.Parameters.Add("@Kontaktid", SqlDbType.Int, 4)
selectcommand.Parameters(0).Value = beschreibung
selectcommand.Parameters(1).Value = unterlagen
selectcommand.Parameters(2).Value = bearbeiter
@ -293,6 +295,7 @@ Public Class DataClass
selectcommand.Parameters(5).Value = keyvalue
selectcommand.Parameters(6).Value = Globals.Mitarbeiternr
selectcommand.Parameters(7).Value = Datatype
selectcommand.Parameters(8).Value = kontaktid
selectcommand.CommandType = CommandType.StoredProcedure
selectcommand.Connection = connection

@ -1 +1 @@
d341cecee8c1a4f049ef9330273216c242dc4490
e8e40c6467e64051916291f66037b940a5b6d021

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save