PreviousNext
Help > Développement > Fonctions W-Langage pour AS/400 > Fonctions Gestion Profil > ASEffaceProfil >
Exemple

 

MaConnexion est une Connexion

// Description de la connexion

MaConnexion..Utilisateur = "TSECOFR"

MaConnexion..MotDePasse = "tsecofr"

MaConnexion..Serveur = "power8"

 

MaConnexion..Provider = hAccèsNatifAS400

HOuvreConnexion(MaConnexion)

 

SI PAS ASEffaceProfil("CRTEST",MaConnexion) ALORS

       Info(HErreur())

SINON

       Info("Profil effacé")

FIN