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

In This Topic
    CanSharePublic Property
    In This Topic
    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;}
    Public ReadOnly Property CanSharePublic As Boolean
    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