Skip to content

Latest commit

 

History

History
77 lines (46 loc) · 1.87 KB

File metadata and controls

77 lines (46 loc) · 1.87 KB
title description ms.author author ms.date ms.reviewer ms.topic ms.subservice contributors
UserSettings (Power Apps component framework API reference) | Microsoft Docs
Provides information about the current user settings.
hemantg
HemantGaur
05/27/2022
jdaly
reference
pcf
JimDaly

UserSettings

[!INCLUDE usersettings-description]

Available for

Model-driven and canvas apps

Properties

dateFormattingInfo

Date formatting information as retrieved from the server. This property is supported in both model-driven and canvas apps.

Type: DateFormattingInfo

isRTL

Returns true if the language is right to left. This property is supported in both model-driven and canvas apps.

Type: boolean

languageId

Current user's language ID. This property is supported in both model-driven and canvas apps.

Type: number

numberFormattingInfo

Number formatting information as retrieved from the server. This property is supported in both model-driven and canvas apps.

Type: NumberFormattingInfo

securityRoles

Current user roles. Supported only in model-driven apps.

Type: string[]

userId

The id of the current user. Supported only in model-driven apps.

Type: string

userName

The username of the current user. Supported only in model-driven apps.

Type: string

Methods

Method Description
getTimeZoneOffsetMinutes [!INCLUDE gettimezoneoffsetminutes-description]

Related articles

Power Apps component framework API reference
Power Apps component framework overview

[!INCLUDEfooter-include]