profilList is ASUsrPrfCollection
myProfil is ASUsrPrf
nb is integer
HOpenConnection(AS400)
ASUserList(profilListe, AS400)
nb = profilList.CollectionASUsrPrf..Occurrence
FOR indice= 1 A nb
myProfil = profilList.CollectionASUsrPrf[indice]
TableauAjoute(gtabObjet, myProfil)
FIN
TableAffiche(TABLE_GtabObjet)