ServiceExists
Indique si un service existe.
Syntaxe
function ServiceExists(serviceName: String): Boolean
serviceName: service à tester
Remarques
- La fonction renvoie true si le service existe dans Qubes (SI, Administratif...).
- Il faut redémarrer le service web après avoir modifier/ajouter un service pour que ServiceExists fonctionne correctement.
Exemples
uses QubesUsers;
if ServiceExists('SI') then
PrintLn('Le service indiqué existe');
if ServiceExists('SI') then
PrintLn('Le service indiqué existe');