ReadonlyapiReadonlycontextOptional ReadonlycountryOptional ReadonlyexportedReadonlyisReadonlylanguageReadonlylocaleReadonlymodeReadonlyoperatingReadonlytableauOptional ReadonlyuniqueA unique id representing the current user. The id is unique across a Tableau deployment or across a Tableau Cloud Site. When the extension is running in desktop, the uniqueUserId is derived from machine-name/user-name. When the extension is running in server, the uniqueUserId is derived from the user's login name. There is no mechanism to obtain the actual user name or any additional user information. If running against a Tableau version prior to 2023.2, uniqueUserId will be undefined.
Optional ReadonlyworkbookWorkbookFormatting contains an array of FormattingSheets that will get your formatting information from the workbook. The types of sheet formatting by Class Name Key: WorksheetTitle, Worksheet (body text), Tooltip, StoryTitle, and DashboardTitle These formatting sheets include the following CSS properties: fontName, fontSize, isFontBold, isFontItalic, isFontUnderlined, and color.
Readonlyworkbook
The environment namespace provides a way to programmatically gather information about the environment in which the Extensions is running.