UserSettings
Provides information about the current user settings.
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 | Gets the offset in minutes from UTC for the given date. |
Related articles
Power Apps component framework API reference
Power Apps component framework overview
意見反映
https://aka.ms/ContentUserFeedback。
即將推出:我們會在 2024 年淘汰 GitHub 問題,並以全新的意見反應系統取代並作為內容意見反應的渠道。 如需更多資訊,請參閱:提交及檢視以下的意見反映: