UserContextオブジェクト
コンポーネント情報 | |
---|---|
version | 8.0 |
ユーザコンテキストオブジェクト。
IM共通マスタ内のログインユーザ情報に関するアクセスコンテキストです。
以下のコードにより取得できます。
var userContext = Contexts.getUserContext();
var userContext = { allDepartments : Array, // ユーザが所属する全ての 組織 。 allPosts : Array, // ユーザが所属する全ての 組織役職 。 companyList : Array, // ユーザが所属する全ての 会社 。 currentDepartment : Department, // カレント 組織 。 departmentByCompany : Object, // 会社別にユーザが所属する全ての 組織 。 mainDepartment : Department, // ユーザの主所属の 組織 。 mainPostList : Array, // ユーザの主所属の 組織役職 。 postByCompany : Object, // 会社別にユーザが所属する全ての 組織役職 。 publicGroupList : Array, // ユーザが所属する全ての パブリックグループ 。 publicGroupRoleList : Array, // ユーザが所属する全ての パブリックグループ役割 。 userCategoryList : Array, // ユーザが所属する ユーザ分類 。 userProfile : UserProfile // ユーザプロファイル 。 }
プロパティの概要
型 | プロパティ名 | アクセス権 |
---|---|---|
Array | allDepartments ユーザが所属する全ての 組織 。 |
通常
|
Array | allPosts ユーザが所属する全ての 組織役職 。 |
通常
|
Array | companyList ユーザが所属する全ての 会社 。 |
通常
|
Department | currentDepartment カレント 組織 。 |
通常
|
Object | departmentByCompany 会社別にユーザが所属する全ての 組織 。 |
通常
|
Department | mainDepartment ユーザの主所属の 組織 。 |
通常
|
Array | mainPostList ユーザの主所属の 組織役職 。 |
通常
|
Object | postByCompany 会社別にユーザが所属する全ての 組織役職 。 |
通常
|
Array | publicGroupList ユーザが所属する全ての パブリックグループ 。 |
通常
|
Array | publicGroupRoleList ユーザが所属する全ての パブリックグループ役割 。 |
通常
|
Array | userCategoryList ユーザが所属する ユーザ分類 。 |
通常
|
UserProfile | userProfile ユーザプロファイル 。 |
通常
|
プロパティの詳細
Array allDepartments
通常
ユーザが所属する全ての 組織 。
|
Array allPosts
通常
ユーザが所属する全ての 組織役職 。
|
Array companyList
通常
ユーザが所属する全ての 会社 。
|
Department currentDepartment
通常
カレント 組織 。
|
Object departmentByCompany
通常
会社別にユーザが所属する全ての 組織 。
|
Department mainDepartment
通常
ユーザの主所属の 組織 。
|
Array mainPostList
通常
ユーザの主所属の 組織役職 。
|
Object postByCompany
通常
会社別にユーザが所属する全ての 組織役職 。
|
Array publicGroupList
通常
ユーザが所属する全ての パブリックグループ 。
|
Array publicGroupRoleList
通常
ユーザが所属する全ての パブリックグループ役割 。
|
Array userCategoryList
通常
ユーザが所属する ユーザ分類 。
|
UserProfile userProfile 通常 |