App Environment
Obtain the basic information about the app and the environment in which it's running.
npm install @dynatrace-sdk/app-environment
Interfaces
UserDetails
Information about currently logged user
Properties
Name | Type |
---|---|
email*required | string |
id*required | string |
name*required | string |
Functions
getAppId
getAppName
getAppVersion
getCurrentUserDetails
getCurrentUserDetails(): UserDetails
Retrieves the information about currently logged user
Returns
id, name and email of currently logged user.
getEnvironmentId
getEnvironmentUrl
Still have questions?
Find answers in the Dynatrace Community