You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Email-Exchange/Administration/Invoke-ExecModifyCalPerms.ps1
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
usingnamespaceSystem.Net
2
2
3
-
FunctionInvoke-ExecModifyCalPerms {
3
+
functionInvoke-ExecModifyCalPerms {
4
4
<#
5
5
.FUNCTIONALITY
6
6
Entrypoint
@@ -64,6 +64,7 @@ Function Invoke-ExecModifyCalPerms {
Write-LogMessage-headers $Headers-API $APIName-tenant $TenantFilter-message "Successfully set Calendar permissions $Permissions for $LoggingName on $UserID."-sev Info
49
49
$Result="Successfully set permissions on folder $($CalParam.Identity). The user $LoggingName now has $Permissions permissions on this folder."
50
50
if ($CanViewPrivateItems) {
51
-
$Result+=" The user can also view private items."
51
+
$Result+=' The user can also view private items.'
52
52
}
53
+
if ($SendNotificationToUser) {
54
+
$Result+=' A notification has been sent to the user.'
55
+
}
56
+
Write-LogMessage-headers $Headers-API $APIName-tenant $TenantFilter-message $Result-sev Info
0 commit comments