留言板
Difference between companyGroupId and scopeGroupId
Tejas Kanani,修改在12 年前。
Difference between companyGroupId and scopeGroupId
Liferay Master 帖子: 654 加入日期: 09-1-6 最近的帖子
Hi Guys,
I saw there are two different groupId methods available in ThemeDisplay object.
What is the difference between those two methods. Both will return different groupId?
Thanks,
Tejas
I saw there are two different groupId methods available in ThemeDisplay object.
- getCompanyGroupId()
- getScopeGroupId()
What is the difference between those two methods. Both will return different groupId?
Thanks,
Tejas
Jignesh Vachhani,修改在12 年前。
RE: Difference between companyGroupId and scopeGroupId (答复)
Liferay Master 帖子: 803 加入日期: 08-3-10 最近的帖子
Hi Tejas,
As per my knowledge
getCompanyGroupId() will return group id according to company id of current user while,
getScopeGroupId() returns group id of current user means according to user id.
HTH
Jignesh
http://liferaycms.blogspot.com
As per my knowledge
getCompanyGroupId() will return group id according to company id of current user while,
getScopeGroupId() returns group id of current user means according to user id.
HTH
Jignesh
http://liferaycms.blogspot.com
Sagar A Vyas,修改在12 年前。
RE: Difference between companyGroupId and scopeGroupId (答复)
Liferay Master 帖子: 679 加入日期: 09-4-17 最近的帖子Tejas Kanani:
Hi Guys,
What is the difference between those two methods. Both will return different groupId?
Thanks,
Tejas
HI Tejas,
I have gone through the method i have found three method.
themeDisplay.getCompanyGroupId() - This will return groupId according which is mapped with Company ID
themeDisplay.getCompanyId() - This will simply return Company ID which will remain same through the portal
themeDisplay.getScopeGroupId() - This will return group id of current grp like id could be community Id , Org Id , User's Grp id
Company Group id is associate with Company.
Hope this help
Thanks,
Sagar Vyas
Tejas Kanani,修改在12 年前。
RE: Difference between companyGroupId and scopeGroupId
Liferay Master 帖子: 654 加入日期: 09-1-6 最近的帖子
Thanks Jignesh and Sagar for the information.
It cleared my doubts regarding scopegroupid and companygroupid.
Cheers !!
Tejas
It cleared my doubts regarding scopegroupid and companygroupid.
Cheers !!
Tejas
Jignesh Vachhani,修改在12 年前。