Skip to content
Donghai's Blog
Go back

XrmToolBox设置用户默认时区

xrmtoolbox封面图

介绍如何在 XrmToolBox 中设置用户的默认时区

Table of contents

Open Table of contents

详细步骤

详细步骤如下

步骤一:XrmToolBox 安装并打开 User Settings Utility

Open User Settings Utility

步骤二:加载用户信息

Load User Information

步骤三:选择并勾选用户,选择时区,最后点击更新用户设置

Update User Settings

通过SQL查询用户目前使用的时区

另外,还可以通过下面的SQL查询用户目前使用的时区:

SELECT s.fullname AS UserName,
       s.businessunitidname AS BusinessUnit,
       s.domainname AS Domain,
       us.timezonecode AS TimeZoneCode,
       tz.standardname AS TimeZoneName
FROM   systemuser AS s
       INNER JOIN
       usersettings AS us
       ON s.systemuserid = us.systemuserid
       INNER JOIN
       timezonedefinition AS tz
       ON us.timezonecode = tz.timezonecode
WHERE  s.isdisabled = 0;

Query User Time Zone via SQL

SQL字段说明

#FieldDescription
1UserNameFull name of the user.
2BusinessUnitThe business unit to which the user belongs.
3DomainThe user’s domain account (e.g., contoso\johndoe).
4TimeZoneCodeThe numeric code that represents the time zone in Dynamics 365.
5TimeZoneNameThe standard name of the time zone (e.g., Pacific Standard Time).

Share this post on:

Previous Post
mailto 链接的基础用法
Next Post
2025年福建厦门和福州溜达
BlogsClub Meo Forever Blog