ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalInfo Class / CanSearchPublic Property

In This Topic
    CanSearchPublic Property
    In This Topic
    Gets a value indicating if public items, groups, and users are included in search queries on the portal. If the user is NOT signed on true (the default) is always returned.
    Syntax
    public bool CanSearchPublic {get;}
    Public ReadOnly Property CanSearchPublic As Boolean
    Remarks
    When CanSearchPublic is false, no public items outside of the organization are included in searches. However, public items that are part of the organization are returned.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also