Home Search

DriveWorks Pro 21
SecGetAllTeams

Send Feedback

SecGetAllTeams

Gets a table of all of the teams and their users.

Syntax

SecGetAllTeams([Include Team Id])

Where:

Include Team Id (optional) is whether the Id column should be included in the result. By default the Id column will not be included.

Examples

RuleResult
SecGetAllTeams()Will return the array value:

{"Team","DisplayName","AllowCapture","CanEditGroupSecurity","CanEditAllSpecifications","Users","CanEditDriveApps"; "Administrators","Administrators","TRUE","TRUE","TRUE","Admin",,"TRUE"; "Sales","Sales","TRUE","FALSE","FALSE","Mike","TRUE"; "Engineering","Engineering","TRUE","FALSE","FALSE","Jane","TRUE"; "Managers","Managers","TRUE","TRUE","TRUE","Bill","TRUE"}

if these teams exists in the group.

SecGetAllTeams(TRUE)Will return the array value:

{"Team","DisplayName","AllowCapture","CanEditGroupSecurity","CanEditAllSpecifications","Users","CanEditDriveApps","ID"; "Administrators","Administrators","TRUE","TRUE","TRUE","Admin","00000000-0000-0000-0000-000000000001","TRUE"; "Sales","Sales","TRUE","FALSE","FALSE","Mike","4d215935-6c10-4112-8e17-4094e240a524","TRUE"; "Engineering","Engineering","TRUE","FALSE","FALSE","Jane","e1fd25d9-9e4a-4139-bd17-cfd74cf33f1c","TRUE"; "Managers","Managers","TRUE","TRUE","TRUE","Bill","59d08a1d-856c-4918-82d3-a8a9e5f7b887","TRUE"}

if these teams exists in the group.