Share via


Shell.Environment.js

 

Applies To: Windows Azure Pack

Contains environment data about the running portal.

Widgets

Enums

None.

Properties

None.

Methods

Name

Description

Returns

Parameters

Shell.Environment.getAccountUrl

Gets the account URL.

String

None

Shell.Environment.getApplicationRoot

Gets the application root.

String

None

Shell.Environment.getBetaFeatures

Gets an object of enabled beta features.

Object

None

Shell.Environment.getBetaSignUpUrl

Gets the beta sign up URL.

String

None

Shell.Environment.getBranding

Gets the branding name.

String

None

Shell.Environment.getCustomerSupportEnabled

Gets if customer support is enabled.

Boolean

None

Shell.Environment.getCustomerSupportLanguages

Gets a list of customer support languages.

Array

None

Shell.Environment.getCustomParameters

Gets the query string builder for custom parameters.

Shell.Utilities.QueryStringBuilder

None

Shell.Environment.getDevelopmentMode

Gets if the development mode is activated or not.

Boolean

None

Shell.Environment.getEnableHelpDrawer

Gets if the help is enabled in the drawer.

Boolean

None

Shell.Environment.getExtensionSettings

Gets the extension settings.

Object

None

Shell.Environment.getFeedbackLink

Gets the feedback link.

String

None

Shell.Environment.getIsAdminMode

[DEPRECATED] Indicates if the admin mode is active

Boolean

None

Shell.Environment.getIsOnPremMode

[DEPRECATED] Indicates if the prem mode is active.

Boolean

None

Shell.Environment.getIsTelemetryEventDisabled

Gets if the telemetry events are disabled.

Boolean

None

Shell.Environment.getNavigationLinks

Returns the navigation links.

Array

None

Shell.Environment.getPageRequestId

Gets the page request ID.

String

None

Shell.Environment.getPortalVersion

Gets the portal version.

String

None

Shell.Environment.getProductionPortalUrl

Gets the old production portal URL.

String

None

Shell.Environment.getSignOutLink

Gets the sign out link.

String

None

Shell.Environment.getUserAccountType

Gets the user account type

String

None

Shell.Environment.getUserEmailAddress

Gets the user e-mail address.

String

None

Shell.Environment.getUserFirstName

Gets the user first name.

String

None

Shell.Environment.getUserIsFisma

Indicates if the user is FIRMA.

Boolean

None

See Also

Windows Azure Pack Extension Shell Library Reference