ArcGIS Pro 2.7 API Reference Guide
Access Property (PortalGroup)

ArcGIS.Desktop.Core.Portal Namespace > PortalGroup Class : Access Property
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 PortalAccess Access {get;}
Public ReadOnly Property Access As PortalAccess
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PortalGroup Class
PortalGroup Members