USER Object
- Last UpdatedMar 24, 2023
- 1 minute read
Member
|
Name |
Result |
Purpose |
|---|---|---|
|
Name |
STRING |
The name of you, up to 32 characters. |
|
Description |
STRING |
User’s description, up to 120 characters. |
|
Access |
STRING |
User’s access rights (FREE, GENERAL, RESTRICTED). |
|
Refno |
STRING |
STRING containing Database reference number. |
Method
|
Name |
Result |
Purpose |
|---|---|---|
|
TeamList() |
ARRAY OF USERS |
List of TEAMs including this USER. |
|
WorkingList() |
ARRAY OF DB OBJECTS |
List of working extract DBS owned by a User. |
|
Password() |
STRING |
No value. |
|
USER(DBREF) |
USER |
Returns a USER object, given a DBREF. |
|
USER(STRING) |
USER |
Returns a USER object, given a name or reference number. |
These methods may be used in the following ways:
|
!D = OBJECT USER(!!CE) |
|
|
!D = OBJECT USER(!!CE.Name) |
|
|
!D = !!CE.USER() |
|
|
!D = !!CE.Name.USER() |
In all cases '!!CE' is assumed to be a DB database element and '!!CE.Name' is a STRING object containing the name of the element.
These methods should assist performance improvements to AppWare by making it easier to get from Database element to object.
Command
|
!ARRAY = USERS |
$ Returns an array of USER objects in the current Project. |