|
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)
|
public function integer of_verifyuser (readonly string as_loginid);/*_____________________________________________________________________________
Description : Verifie et charge les droits de l'utilisateur sans utiliser l'authentification Visual Guard.
Usage : Vous devez utiliser cette méthode si vous avez votre propre mecanisme d'authentification des utilisateurs.
Dans ce cas là, Visual Guard n'utilisera plus le mot de passe défini dans Profile manager pour vérifier
l'utilisateur. Visual Guard ne fera que vérifier si l'utilisateur à accès à un profil de l'application.
Si vous souhaitez que Visual Guard authentifie l'utilisateur en utilisant le mot de passe défini dans Profile
Manager, utilisez alors l'autre prototype de la méthode spécifiant le mot de passe.
Argument : as_usr_login : String specifying the Visual Guard Login ID.
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)
end function