ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalInfo Class / CanSharePublic Property
Version

CanSharePublic Property
Gets if the organization allows or disallows a user to share groups or items publicly. If the user is NOT signed on true (the default) is always returned.
Syntax
public bool CanSharePublic {get;}
Remarks
When CanSharePublic is set to false, it denotes that content cannot be shared with everyone. The default is true.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also