Click or drag to resize

PortalInfo Class

Includes information such as the name, logo, featured items and supported protocols (http vs https) for this portal.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.PortalPortalInfo

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public sealed class PortalInfo

The PortalInfo type exposes the following members.

Properties
  NameDescription
Public propertyAccess
Gets the level of access that anonymous users have to your organization.
Public propertyAppInfo
Gets the information about the application through which this resource was accessed. This information is based on the token used to access this resource.
Public propertyBasemapGalleryGroupQuery
Gets the query expression used to determine which group's basemaps are displayed.
Public propertyBingKey
Gets the Bing key required for webmaps using Bing.
Public propertyCanSearchPublic
Gets a value indicating whether members of the organization can search outside of the organization.
Public propertyCanShareBingPublic
Gets the a flag indicating whether the bing key can be shared to the public and will be returned as part of a PortalInfo description.
Public propertyCanSharePublic
Gets a value indicating whether members of the organization can share resources outside of the organization.
Public propertyCreated
Gets the date the organization was created.
Public propertyCultureInfo
Gets the organization default locale (language and country) information.
Public propertyCustomBaseDomain
Gets the custom base URL for the organization.
Public propertyDefaultBasemap
Gets the default basemap to be used when creating new maps.
Public propertyDefaultExtent
Gets the default extent to be used when creating new maps.
Public propertyDefaultVectorBasemap
Gets the default basemap to be used when creating new maps, and should be used instead of DefaultBasemap when UseVectorBasemaps is true.
Public propertyEueiEnabled
Gets a value indicating if the organization allows ArcGIS Online to collect usage information from its members to improve user experience.
Public propertyFeaturedGroupsQueries
Gets a collection of group query string.
Public propertyFeaturedItemsGroupQuery
Gets the query expression used to determine which group's featured items are displayed.
Public propertyHelperServices
Gets a class that provides access to various services. These include "GeocodeService", "GeometryService", "ClosestFacilityService", etc
Public propertyHomePageFeaturedContentCount
Gets the number of items to show per page for the featured content screens (max=100).
Public propertyHomePageFeaturedContentGroupQuery
Gets the query expression used to determine which group's featured content is displayed.
Public propertyHostName
Gets the portal host's URL.
Public propertyIPCountryCode
Gets the ISO Country Code of the client's IP address (online only - Not used in on premises Portal).
Public propertyIsAllSSL
Gets a value indicating whether the access to the portal resources must occur over SSL.
Public propertyIsCommentsEnabled
Gets a value indicating whether comments are enabled.
Public propertyIsPortal
Gets a value indicating whether the portal is on premises.
Public propertyLicenseInfo
Gets the license information for the currently logged-in PortalUser, this can return license information to enable additional ArcGIS Runtime capabilities. Null is returned if this is not the CurrentUser or there is no license information available.
Public propertyLivingAtlasGroupQuery
Gets the query that identifies the group containing the Living Atlas layers to be displayed.
Public propertyModified
Gets the date the organization was last modified.
Public propertyOrganizationBannerUri
Gets the URI of the thumbnail image for the organization.
Public propertyOrganizationDescription
Gets the description of the organization. In the case of non-organizational users of ArcGIS Online or a multi-tenant portal, this will be null
Public propertyOrganizationId
Gets the id of the organization, if the user belongs to one.
Public propertyOrganizationName
Gets the name of the organization. In the case of non-organizational users of ArcGIS Online or a multi-tenant portal, this will be null
Public propertyOrganizationSubdomain
Gets the portion of the URL's host component that identifies a specific organization subscription within a portal.
Public propertyPortal
Gets the ArcGIS Portal associated with the PortalInfo.
Public propertyPortalMode
Gets the portal mode (single-tenant or multi-tenant).
Public propertyPortalName
Gets the name of the portal.
Public propertyPortalThumbnailUri
Gets the URI of the portal thumbnail.
Public propertyShowHomePageDescription
Gets a value indicating whether to show the description of the organization on the home page.
Public propertySupportsOAuth
Gets a value indicating whether the portal supports OAuth.
Public propertyThumbnailUri
Gets the URI of the thumbnail image for the organization. In the case of non-organizational users of ArcGIS Online or a multi-tenant portal, this will be null.
Public propertyUseVectorBasemaps
Gets a value indicating whether an organization should use the Esri vector basemaps in supported ArcGIS apps.
Public propertyVectorBasemapGalleryGroupQuery
Gets the query expression used to determine which group's vector basemaps are displayed.
Top
Methods
Remarks

If the user is not logged in or if the logged user doesn't belong to an organization, these information concern 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 PortalInfo property.

See Also