DriveWorks Pro 15: SppGetAllTeams [send feedback...]

SppGetAllTeams

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 started or opened. The overload has one argument whose value needs to change in order for the function to be recalculated.

Syntax

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.

Examples

RuleMeaning
SppGetAllTeams(DWConstantRefreshData)Will return a table array of all DriveWorks Teams listed under Security Settings.

Example Data Returned as a Table Array
{"Team","DisplayName","AllowCapture","CanEditGroupSecurity","CanEditAllSpecifications","Users";"Administrators","Administrators","True","True","True","Admin|Ian|Paul";"Sales","Sales","True","False","False","Ian|Jane|Megan"}

Example Table Array in the Form of a Table
TeamDisplayNameAllowCaptureCanEditGroupSecurityCanEditAllSpecificationsUsers
AdministratorsAdministratorsTRUETRUETRUEAdmin|Ian|Paul
SalesSalesTRUEFALSEFALSEIan|Jane|Megan

Table of Contents