Bom dia
Segue link e exemplo
https://doc.windev.com/en-US/?1000021348&name=checkuseridentity_funcion
CheckUserIdentity("Check the identity for unlocking", Authentication)
Procedure Authentication(nStatus is int, sErrorMessage is string)
SWITCH nStatus
CASE cuiAuthenticated
Info("Authentication OK")
CASE cuiAuthenticationFailure
Error("Authentication failure: " + sErrorMessage)
CASE cuiAuthenticationUnavailable
Error("Authentication not available")
CASE cuiCustomAuthentication
pwd is string
SWITCH Input("Enter the password: ", pwd)
CASE 1:
CASE 0:
END
END
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/