ArcGIS Pro 2.7 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 10, Windows 8.1

See Also

Reference

PortalInfo Class
PortalInfo Members