Restituisce un array di stringhe, ciascuno dei quali corrisponde al nome di uno dei tipi di record stateless schema.
L'array non è mai vuoto; conterrà almeno i nomi "utenti", "gruppi", "allegati" e "cronologia" che corrispondono ai tipi di record stateless definiti dal sistema.
Una volta ottenuto il nome di un tipo di record stateless, è possibile richiamare l'Oggetto EntityDef per tale tipo di record richiamando il metodo GetEntityDef.
VBScript
session.GetAuxEntityDefNames
Perl
$session->GetAuxEntityDefNames();
VBScript
set sessionObj = GetSession ' Get the list of names for the stateless record types. entityDefNames = sessionObj.GetAuxEntityDefNames ' Iterate over the non-system stateless record types for each name in entityDefNames if name <> "users" And name <> "groups" _ And name <> "attachments" And name <> "history" Then set entityDefObj = sessionObj.GetEntityDef(name) ' Do something with the EntityDef object End If Next
Perl
$sessionObj = $entity->GetSession(); #Get an array containing the names of the stateless record #types in the current database's schema. $AuxEntityDefNames = $sessionObj->GetAuxEntityDefNames(); #Iterate over the state-based record types foreach $name ( @$AuxEntityDefNames){ print $name, "\n"; $EntityDefObj = $sessionObj->GetEntityDef( $name); # Do something with the EntityDef object # ... }