Team getListByResourceId

From Catglobe Wiki
Jump to: navigation, search


Team_getListByResourceId

List all teams that belong to the resource (On GUI, Team is under Team tab of resource)

Resource Type may contain Team: Projects, Folders, Users, Groups, Reports, Monitor

Syntax

Team_getListByResourceId(resourceId);

Arguments

number resourceId: is ResourceId of resource that you want to list teams

Return type

array of array Team object

Example

number resourceId = 15562383;
array teams = Team_getListByResourceId(resourceId);
//{{33,0,Main team,0,15562383,{}},{33,1,My Team,15567436,15562383,{}}}