AddressListGetField()

Returns an address list field name.

Versions:GroupWise 5.5 only

Token ID

AFTKN_AL_GET_FIELD or 694

Syntax

ANSISTRING AddressListGetField(DWORD Handle; 
                                WORD Index; 
                                ENUM ABField; 
                                ENUM FromWhichList)

Parameters

Handle As DWORD

Address list handle, returned by AddressListCreate().

Index As WORD

Address index. The first address is 0, the second is 1, and so forth. If the index is out of range, a run-time error occurs.

ABField As ENUM

Address Book field. The field’s entry returns in a variable. If a field does not exist in a section of the specified address, a run-time error occurs. Fields include:

199

PersonalGroupsID!

202

PublicGroupsDescription!

203

PublicGroupsDomain!

204

PublicGroupsHost!

205

PublicGroupsID!

208

ResourcesDescription!

209

ResourcesDomain!

210

ResourcesFID!

211

ResourcesHost!

212

ResourcesID!

213

ResourcesOwner!

214

ResourcesType!

244

UsersAccountID!

245

UsersDept!

246

UsersDomain!

247

UsersFID!

248

UsersFaxNum!

249

UsersFirstName!

250

UsersHost!

251

UsersID!

252

UsersLastName!

253

UsersNetID!

254

UsersPhone!

255

UsersTitle!

256

UsersUD1!

UsersUD1! through UsersUD9! are defined by the system administrator.

257

UsersUD10!

258

UsersUD2!

259

UsersUD3!

260

UsersUD4!

261

UsersUD5!

262

UsersUD6!

263

UsersUD7!

264

UsersUD8!

265

UsersUD9!

FromWhichList As ENUM

Address list to apply index to:

124

BCList!

132

CCList!

137

Combined!

Concatenates TO, CC, and BC, respectively.

233

ToList!

Return Values

FieldName As ANSISTRING. Returns an Address Book field name.