PreviousNext
Help > Development > W-Language Functions for AS/400 > Profile Management >  ASCheckPassword > Example
Example

 

MaConnexion est une 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