07-18-2019, 09:10 PM
I think you can either do a batch read on all the records or just list the emails to choose from.
Doing this should give you all the data of the users table
local tInputA, tOutputA, tTableID
put cdb_userTableName() into tTableID
put empty into tInputA[tTableID]["*"]
put cdb_batchRead(tInputA,"cloud") into tOutputA
You can also use cdb_list to get a list of the emails and let the administrator choose from the emails.
local tTable, tTarget, tKeys, tOutputA
put cdb_userTableName() into tTable
put cdb_list(tTable,"cloud","email") into tOutputA
Doing this should give you all the data of the users table
local tInputA, tOutputA, tTableID
put cdb_userTableName() into tTableID
put empty into tInputA[tTableID]["*"]
put cdb_batchRead(tInputA,"cloud") into tOutputA
You can also use cdb_list to get a list of the emails and let the administrator choose from the emails.
local tTable, tTarget, tKeys, tOutputA
put cdb_userTableName() into tTable
put cdb_list(tTable,"cloud","email") into tOutputA