UserContext
更新时间: 2024-02-04 浏览次数: {{ hits }}
类名 : UserContext
说明 : 用户权限验证器 属性 : 
名称说明
IsDeveloper开发者
UserId用户Id
User用户对象
IsAdministrator是否管理员
IsAnonymous是否是匿名用户
Language多语言
AgencyIdentityType委托类型
FormActionCodes有权限的表单按钮
ListViewActionCodes有权限的列表按钮


成员 : 
名称说明
_IsDeveloper用于缓存验证,以免每次都去访问数据库

构造方法名称 : #ctor(System.String,System.Boolean,H3.Organization.User,System.Boolean,System.String[],System.String[],System.Boolean,System.Collections.Generic.Dictionary{System.String,System.Object},H3.Data.FileServiceType)
参数说明
"engineCode"引擎编码
"isDeveloper"是开发者
"user"当前用户
"isAdministrator"是管理员
"formActionCodes"当前表单按钮权限
"listViewActionCodes"当前列表按钮权限
"isAnonymous"是匿名用户
"portalSettings"网站设置
"fileServiceType"存储类型
返回值


方法名称 : GetThumbnailUrl(System.String)
参数说明
"fileId"
返回值


方法名称 : GetLocalTime(System.DateTime)
参数说明
"ServerTime"服务器时间
返回值
本地时间

方法名称 : GetServerTime(System.DateTime)
参数说明
"LocalTime"本地时间
返回值
服务器时间

方法名称 : GetLocalTimeText(System.DateTime,System.Boolean)
参数说明
"ServerTime"服务器系统时间
"IsHighPrecision"是否高精度显示,如果是高精度显示,格式则是日期 + 时间,否则则只有日期
返回值
本地时间的字符串

方法名称 : GetLocalTimeText(System.String,System.Boolean)
参数说明
"ServerTimeText"服务器系统时间
"IsHighPrecision"是否高精度显示,如果是高精度显示,格式则是日期 + 时间,否则则只有日期
返回值
本地时间的字符串

方法名称 : GetObjectTrack(System.String)
参数说明
"objectName"
返回值