ArcGIS Pro 2.7 API Reference Guide
PortalInfo Class
Members 

ArcGIS.Desktop.Core.Portal Namespace : PortalInfo Class
Includes information such as the name, logo, featured items and supported protocols (http vs https) for a portal.
Object Model
PortalInfo ClassArcGISPortal Class
Syntax
public sealed class PortalInfo 
Public NotInheritable Class PortalInfo 
Remarks
If the user is not logged in or if the logged user doesn't belong to an organization, the information concerns the default view of the portal. If the user is logged in or if the Url is an organization custom Url, the information will be specific to the organization that the user belongs to.

The default view of the portal is dependent on the culture of the user which is obtained from the users profile.

You may get the current portal info by the ArcGISPortal.GetPortalInfoAsync (extension) method.

Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Core.Portal.PortalInfo

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

PortalInfo Members
ArcGIS.Desktop.Core.Portal Namespace