From 7e69d2ff34c80a785b72f3a1bd8b0736df87548b Mon Sep 17 00:00:00 2001 From: reshmee011 Date: Sun, 12 May 2024 13:32:48 +0100 Subject: [PATCH] Amend to return additional parameters --- src/Commands/Model/SPOTenant.cs | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/Commands/Model/SPOTenant.cs b/src/Commands/Model/SPOTenant.cs index 3bfe41cb3..94b9a8dd2 100644 --- a/src/Commands/Model/SPOTenant.cs +++ b/src/Commands/Model/SPOTenant.cs @@ -1,6 +1,7 @@ using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.Online.SharePoint.TenantManagement; using Microsoft.SharePoint.Client; +using Microsoft.SharePoint.Client.Sharing; using System; using System.Collections.Generic; using System.Linq; @@ -219,6 +220,22 @@ public class SPOTenant public TenantBrowseUserInfoPolicyValue? BlockUserInfoVisibilityInSharePoint { private set; get; } + public SharingScope? OneDriveLoopDefaultSharingLinkScope { private set; get; } + + public SharingScope? CoreLoopDefaultSharingLinkScope { private set; get; } + + public SharingCapabilities? OneDriveLoopSharingCapability { private set; get; } + + public SharingCapabilities? CoreLoopSharingCapability { private set; get; } + + public Role? OneDriveLoopDefaultSharingLinkRole { private set; get; } + + public Role? CoreLoopDefaultSharingLinkRole { private set; get; } + + public bool? IsCollabMeetingNotesFluidEnabled { private set; get; } + + public SharingState? AllowAnonymousMeetingParticipantsToAccessWhiteboards { private set; get; } + #endregion public SPOTenant(Tenant tenant, ClientContext clientContext) @@ -745,7 +762,14 @@ public SPOTenant(Tenant tenant, ClientContext clientContext) EnableSiteArchive = tenant.EnableSiteArchive; ESignatureEnabled = tenant.ESignatureEnabled; BlockUserInfoVisibilityInSharePoint = tenant.BlockUserInfoVisibilityInSharePoint; - + OneDriveLoopDefaultSharingLinkScope = tenant.OneDriveLoopDefaultSharingLinkScope; + CoreLoopDefaultSharingLinkScope = tenant.CoreLoopDefaultSharingLinkScope; + OneDriveLoopSharingCapability = tenant.OneDriveLoopSharingCapability; + CoreLoopSharingCapability = tenant.CoreLoopSharingCapability; + OneDriveLoopDefaultSharingLinkRole = tenant.OneDriveLoopDefaultSharingLinkRole; + CoreLoopDefaultSharingLinkRole = tenant.CoreLoopDefaultSharingLinkRole; + IsCollabMeetingNotesFluidEnabled = tenant.IsCollabMeetingNotesFluidEnabled; + AllowAnonymousMeetingParticipantsToAccessWhiteboards = tenant.AllowAnonymousMeetingParticipantsToAccessWhiteboards; } } }