deleted: CSV-configuration file references

This commit is contained in:
Edmond Gebara 2026-07-07 18:32:24 +02:00
parent 99c1510a34
commit 582e36b05c
4 changed files with 4 additions and 14 deletions

View file

@ -170,11 +170,6 @@ function getRoleType
function buildPrefixMatcher
{
param(
[Parameter(Mandatory = $true, Position = 0)]
[string]$CsvPath
)
$byLength = [System.Collections.Generic.Dictionary[int, System.Collections.Generic.HashSet[string]]]::new()
foreach ($row in $SPK.ProfilPrefixes)

View file

@ -1633,7 +1633,7 @@ function ProcessADObjects
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
}
$prefixMatcher = buildPrefixMatcher $KURSProfilePrefixes
$prefixMatcher = buildPrefixMatcher
$ProfilNummer = 470000000
$ProfilNummerLM = 471000000

View file

@ -1633,7 +1633,7 @@ function ProcessADObjects
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
}
$prefixMatcher = buildPrefixMatcher $KURSProfilePrefixes
$prefixMatcher = buildPrefixMatcher
$ProfilNummer = 470000000
$ProfilNummerLM = 471000000

View file

@ -59,7 +59,7 @@ Remove-Item -Path $LogFileName -ErrorAction Ignore
if ($Config.CleanWorkDirs)
{
clearWorkDirectories @($InstituteRootPathTmp, $InstituteRootPathOut)
clearWorkDirectories @($InstituteRootPathTmp, $InstituteRootPathOut)
}
$IsTestMode = checkTestMode
$InstitutsSourcePath = $PSScriptroot + "/Process-ADObjects-Work-" + $Institut + ".ps1"
@ -96,11 +96,6 @@ $KURSPositionfunctionsPositionsInFilePathRegExp = "$InstituteRootPathIn" + $Inst
$KURSProfileEmployeeInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-Mitarbeiter" + ".csv"
$KURSProfileDAWRightsInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-DAWBerechtigungen" + ".csv"
################ this is NEW input ##################################################################
$KURSProfileNumberMapping = "$InstituteRootPathIn" + $Institut + "_ProfilNummernMapping" + ".csv"
$KURSProfilePrefixes = "$InstituteRootPathIn" + $Institut + "_ProfilPrefixe" + ".csv"
################ this is NEW input ##################################################################
$ADObjectsFilePath = Get-ChildItem -Path $ADObjectsFilePathRegExp | Sort-Object Name | Select-Object -Last 1
$ADObjectMembershipsFilePath = Get-ChildItem -Path $ADObjectMembershipsFilePathRegExp | Sort-Object Name | Select-Object -Last 1