viewsheetUser

Property is read-only. It cannot be set in script.
parameter to obtain other environment information in script.

For a Dashboard saved in ‘Private Dashboard’ scope, returns the ID of the Dashboard’s owner. If the Dashboard is not saved in ‘Private Dashboard’ scope, the property has a value of null.

Example

alert('The Dashboard belongs to ' + viewsheetUser);