Skip to content

Commit

Permalink
Amend to return additional parameters (#3948)
Browse files Browse the repository at this point in the history
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
  • Loading branch information
reshmee011 and gautamdsheth authored May 23, 2024
1 parent b211588 commit f5de7b4
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/Commands/Model/SPOTenant.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}
}
}

0 comments on commit f5de7b4

Please sign in to comment.