Difference between revisions of "Team getTeamByResourceId"
Nguyenduyan (talk | contribs) (Created page with "Category:Team_Functions {{HelpFiles}} = Team_getTeamByResourceId = Get an existed Team (On GUI, Team is under Team tab of resource) Resource Type may contain Team: Pro...") (Tag: visualeditor-switched) |
Nguyenduyan (talk | contribs) (→Return type) (Tag: visualeditor) |
||
Line 22: | Line 22: | ||
== Return type == | == Return type == | ||
− | array | + | An <nowiki>''array''</nowiki>, it is a Team object, see [[Team_new]] |
== Example == | == Example == |
Latest revision as of 03:37, 23 June 2017
Team_getTeamByResourceId
Get an existed Team (On GUI, Team is under Team tab of resource)
Resource Type may contain Team: Projects, Folders, Users, Groups, Reports, Monitor
Syntax
Team_getTeamByResourceId(resourceId, teamTypeId, groupResourceId);
Arguments
number resourceId: is ResourceId of resource that you want to get Team
number teamTypeId: is Id of Team Type that the Team belong to (on GUI, the Team Type at Administration/HR/Team types)
number groupResourceId: is ResourceId of group that belong to the Team
Return type
An ''array'', it is a Team object, see Team_new
Example
number resourceId = 15562383;
number teamTypeId = 1;
number groupResourceId = 15567436;
array team = Team_getTeamByResourceId (resourceId, teamTypeId, groupResourceId);//{33,1,My Team,15567436,15562383,{}}