Returns a Table Array of all the Teams in the Group. When this function has no arguments it only updates when the Project is opened or a Specification is started or opened. The overload has one argument whose value needs to change in order for the function to be recalculated.
SppGetAllTeams([Recalculation Trigger])
Where:
Recalculation Trigger (optional) is the trigger to force a recalculation during the running of a Specification.
See How To: Force a data refresh when data has changed for one example of implementing a trigger.
Rule | Result | Meaning |
---|---|---|
SppGetAllTeams(DWConstantRefreshData) | {"Team","DisplayName","AllowCapture","CanEditGroupSecurity","CanEditAllSpecifications","Users"; "Administrators","Administrators","True","True","True","Admin|Ian|Paul"; "Sales","Sales","True","False","False","Ian|Jane|Megan"} | Will return a Table Array of all DriveWorks Teams listed under Security Settings. |
Team | DisplayName | AllowCapture | CanEditGroupSecurity | CanEditAllSpecifications | Users |
---|---|---|---|---|---|
Administrators | Administrators | TRUE | TRUE | TRUE | Admin|Ian|Paul |
Sales | Sales | TRUE | FALSE | FALSE | Ian|Jane|Megan |