getDefaultCurrency() Returns the context user's default currency code for multiple currency organizations or the organization's currency code for single currency organizations. getFirstName() Returns the context user's first name//返回当前用户的first name getLanguage() Returns the context user's language//返回当前用户的 语言,中文或者英文 或者其他的语言。 getLastName() Returns the context user's last name//返回当前用户的last name getLocale() Returns the context user's locale.// getName() Returns the context user's full name. The format of the name depends on the language preferences specified for the organization.//返回当前用户的全名,名字的格式由组织所在的地区决定。 getOrganizationId() Returns the context organization's ID. getOrganizationName() Returns the context organization's company name. getProfileId() Returns the context user's profile ID.//返回profiel的id getSessionId() Returns the session ID for the current session. getTimeZone() Returns the current user’s local time zone. getUiTheme() Returns the default organization theme. Use getUiThemeDisplayed to determine the theme actually displayed to the current user. getUiThemeDisplayed() Returns the theme being displayed for the current user. getUserEmail() Returns the current user’s email address. getUserId()//user id Returns the context user's ID getUserName() Returns the context user's login name. getUserRoleId() Returns the context user's role ID. getUserType() Returns the context user's type. isCurrentUserLicensed(namespace) Returns true if the context user has a license to the managed package denoted by the namespace. Otherwise, returns false. isMultiCurrencyOrganization() Specifies whether the organization uses multiple currencies.
最后
以上就是勤奋啤酒最近收集整理的关于salesforce 获取当前用户的信息的全部内容,更多相关salesforce内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复