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

Access Property (PortalGroup)
Gets the access level on the group. Private is the default. If Organization, only members of the organization can access the group. If Public, all users can access the group.
Syntax
public new PortalAccess Access {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also