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

Access Property (PortalInfo)
Gets who can view your organization as an anonymous user.
Syntax
public PortalAccess Access {get;}
Remarks
When public, anonymous users can access the organization's custom URL. When private, access is restricted to only members of the organization.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also