TEAM Object
- Last UpdatedSep 17, 2024
- 1 minute read
Members
|
Name |
Type |
Purpose |
|---|---|---|
|
Name |
STRING |
Name of the TEAM, up to 32 characters. |
|
Description |
STRING |
TEAM description, up to 120 characters. |
|
Refno |
STRING |
STRING containing Database reference number. |
Methods
None of these methods modifies the original object.
|
Name |
Result |
Purpose |
|---|---|---|
|
DbList() |
ARRAY OF DB |
List of DBs owned by the TEAM. |
|
UserList() |
ARRAY OF USER |
List of USERS in the TEAM. |
|
TEAM(DBREF) |
TEAM |
Returns a TEAM object, given a DBREF. |
|
TEAM(STRING) |
TEAM |
Returns a TEAM object, given a name or reference number. |
These methods may be used in the following ways:
!D = OBJECT TEAM(!!CE)
!D = OBJECT TEAM(!!CE.Name)
!D = !!CE.TEAM()
!D = !!CE.Name.TEAM()
In all cases !!CE is assumed to be a DB database element and !!CE.Name is a STRING object containing the element’s name.
These methods should assist performance improvements to AppWare by making it easier to get from Database element to Object.
Command
|
!ARRAY = TEAMS |
$ Returns an array of TEAMs |