|
of_verifyuser
|
|
Full name
|
vg_n_cst_vgmanager.of_verifyuser
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_verifyuser(readonly string,readonly string)
|
public function integer of_verifyuser (readonly string as_loginid, readonly string as_password);/*_____________________________________________________________________________
Description : Verifie et charge les droits de l'utilisateur sans utiliser l'authentification Visual Guard.
Usage : Vous devez utiliser cette méthode si vous souhaitez utiliser le mécanisme d'authentification Visual Guard.
Dans ce cas là, Visual Guard utilisera le mot de passe défini dans Profile manager pour vérifier
l'utilisateur.
Une fois authentifer, Visual Guard fera vérifiera si l'utilisateur à accès à un profil de l'application.
Si vous ne souhaitez pas utiliser l'authentification Visual Guard, utilisez alors l'autre prototype de la
méthode ne spécifiant pas le mot de passe.
Argument : as_usr_login : String specifying the Visual Guard Login ID.
as_usr_pwd : String specifying the Visual Guard Login Password.
Return : integer 1: ok.
-1 :Unknown user.
-2 :Error during the reading of the database. Check the parameters of connection to the security database or if the database is correctly initialized.
-3 :Cancel on Profile selection.
-4 :Cancel on Group selection.
-5 :The user is not authorized to use the application.
-6 :Unknown application key
-7 :Incorrect or missing password.
-9 :Incorrect or missing Login ID.
-10:Visual Guard manager is not associated with this service. You must use the of_setvgmanager method to specify the Visual Guard manager before the of_verify will execute.
-11:L'identifiant du profil sélectionné n'est pas correct.
-12:L'identifiant du groupe sélectionné n'est pas correct.
-13:Transaction not connected. You must use the of_connect method before calling of_verifyuser.
History :
V7.50 - BT - 08/06/2000 - Initial version
_____________________________________________________________________________*/
Return iuo_vgsecurity.of_verifyuser (as_loginid, as_password)
end function