SiteExists
Indique si un site existe
Syntaxe
function SiteExists(siteName: String): Boolean
siteName: site à tester
Remarques
La fonction renvoie true si le site existe dans Qubes (Lyon, Paris...).
Pour récupérer l'ID à partir du nom d'un site, il faut utiliser la fonction SiteIDFromName
Exemples
uses QubesUsers;
if SiteExists('Lyon') then
PrintLn('Ce site existe');
if SiteExists('Lyon') then
PrintLn('Ce site existe');