Difference between revisions of "Team removeTeam"

From Catglobe Wiki
Jump to: navigation, search
(Team_removeTeam)
(Tag: visualeditor)
 
Line 32: Line 32:
 
Team_removeTeam(resourceId, teamTypeId, groupResourceId);
 
Team_removeTeam(resourceId, teamTypeId, groupResourceId);
 
</source>
 
</source>
 +
 +
The resource before remove Team
 +
[[File:Team3.png]]
 +
 +
 +
The resource after remove Team
 +
[[File:Team1.png]]

Latest revision as of 03:56, 22 June 2017


Team_removeTeam

Remove a Team out of a resource (On GUI, the Team is under Team tab of resource)

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

Syntax

Team_removeTeam(resourceId, teamTypeId, groupResourceId);

Arguments

number resourceId: is ResourceId of resource contain the Team you want to remove

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

empty

Example

number resourceId = 15562383;
number teamTypeId = 1;
number groupResourceId = 15567436;
Team_removeTeam(resourceId, teamTypeId, groupResourceId);

The resource before remove Team Team3.png


The resource after remove Team Team1.png