V10 - VB.NET >User Validation/Correct Password

Asked

Viewed 83 times

-1

I am trying to validate the user and password if they are correct.
The Code is this:

Dim adm As New AdmEngine100.clsUtilizadores
Dim statusLogin As AdmEngine100.clsUtilizadores.EnumLogin

        statusLogin = adm.Login(user, PWD)

The error that appears is:

Object reference is not defined as an instance of an object.

What may be missing from the code?

  • Hello Paulo, with this code it is only difficult to notice the error. Is it an extensibility or integration project? You open the platform?

1 answer

1


I’ve been testing I got what you want as follows:

Estancio o Stdplatbs

Dim plataforma = New StdPlatBS()

Validated the login:

Dim login As Object = plataforma.Administrador.ListaUtilizadores.Login(user, pwd)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.