public ArcGISPortal GetActivePortal()
Public Function GetActivePortal() As ArcGISPortal
public ArcGISPortal GetActivePortal()
Public Function GetActivePortal() As ArcGISPortal
var active_portal = ArcGISPortalManager.Current.GetActivePortal(); string uri = active_portal.PortalUri.ToString();
Target Platforms: Windows 11, Windows 10, Windows 8.1