From 3bd28dec6f42a1f09a25b5edfde03db4d66d185d Mon Sep 17 00:00:00 2001 From: Sylvain Dangin Date: Sat, 15 Jul 2023 00:13:21 +0200 Subject: [PATCH] Correction de l'exemple --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf4929b..20c6509 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ from lib_Partage_BSS.services.BSSConnexionService import BSSConnexion # Connexion au BSS bss = BSSConnexion() -bss.setDomainKey('x.fr', 'yourKey') +bss.setDomainKey({'x.fr', 'yourKey'}) # Recherche parmis les comptes -all_accounts = AccountService.getAllAccounts(domain='x.fr', limit=200, 'mail=u*', , attrs="carLicense,zimbraAccountStatus,zimbraHideInGAL") +all_accounts = AccountService.getAllAccounts(domain='x.fr', limit=200, ldapQuery='mail=u*', attrs="carLicense,zimbraAccountStatus,zimbraHideInGAL") # Consultation d'un compte account = AccountService.getAccount('user@x.fr')