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

 

MaConnexion est une Connexion

MaConnexion..Utilisateur = "TSECOFR"

MaConnexion..MotDePasse = "tsecofr"

MaConnexion..Serveur = "power8"

 

MaConnexion..Provider = hAccèsNatifAS400

HOuvreConnexion(MaConnexion)

 

SI PAS ASCreerProfil("CRTEST", "crtest", "Test", "QPGMR",MaConnexion) ALORS

       Info(HErreur())

SINON

       Info("Profil créé")

FIN