From 6f82577c3940ee9bd2f74a7e862d78ebbc72f06c Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Mon, 15 Jul 2024 22:47:13 +0200 Subject: [PATCH] removed error --- RemoveUser.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RemoveUser.ps1 b/RemoveUser.ps1 index 785e6cc..099b7c5 100644 --- a/RemoveUser.ps1 +++ b/RemoveUser.ps1 @@ -35,9 +35,9 @@ if($null -eq $User){ } if($PSBoundParameters.ContainsKey("Server")){ - $Group = . .\GetProjects.ps1 -Server $Server + $Group = . .\GetRoles.ps1 -Server $Server -ProjectName $ProjectName } else { - $Group = . .\GetProjects.ps1 + $Group = . .\GetRoles.ps1 -ProjectName $ProjectName } if($null -eq $Group){