ArcGIS Pro 2.9 API Reference Guide
OrganizationId Property (PortalInfo)

ArcGIS.Desktop.Core.Portal Namespace > PortalInfo Class : OrganizationId Property
Gets the id of the organization, if the user belongs to one.
Syntax
public string OrganizationId {get;}
Public ReadOnly Property OrganizationId As String
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

PortalInfo Class
PortalInfo Members