PreviousNext
Help > Développement > Fonctions W-Langage pour AS/400 > Fonctions Gestion Profil > ASVerifieMdP >
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 ASVerifieMdP("CRTEST", "aura", MaConnexion) ALORS

       Info("Mot de passe incorrect")

SINON

       Info("Mot de passe correct")

FIN