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

Access Property (PortalItem)
Gets the access level on the item. Private is the default and only the item owner can access. Shared means the item is shared with a specific group. Organization restricts item access to members of your organization. Public means any user can access the item.
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