您的位置:首页 > 其它

salesforce 获取当前用户的信息

2014-01-02 10:32 351 查看
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.











                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: