GetOfficeData()

Returns GroupWise, Mailbox, Sent Items, or Trash information (backward compatibility only). Use environment (ENV) command to return system information.

Token ID

AFTKN_GET_MAILDATA or 592

Syntax

GetOfficeData([VARIABLE MacroVariable]; 
               ENUM SystemVariable; 
               [WORD IndexNumber])

Parameters

MacroVariable As VARIABLE

(Optional) Requested information is returned in this variable.

SystemVariable As ENUM

Returns a value for various types of GroupWise data in a variable, as follows:

0

ClipboardText

30

InterimVersion

24

IsItemAccepted

23

IsItemCompleted

26

IsItemPrivate

25

IsItemRouted

10

IsListItemAccepted

9

IsListItemCompleted

12

IsListItemDelegated

13

IsListItemPrivate

8

IsListItemRead

11

IsListItemRouted

22

IsViewPersonal

20

ItemAttachmentCount

29

ItemAttachmentName

28

ItemCreateDate

27

ItemPriority

6

ListCount

15

ListItemCreateDate

18

ListItemFrom

16

ListItemHasAttachments

14

ListItemPriority

19

ListItemSubject

7

ListItemType

3

MacroPath

1

MajorVersion

2

MinorVersion

17

PostOfficePath

4

UserId

5

UserName

21

ViewType

IndexNumber As WORD

(Optional) This method is not available in GroupWise 5.x and later Remote.

Return Values

ANY.