Wibndows logon user

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Wibndows logon user

Tobiáš Vondráček
Hello, 

our smalltalk application has to verify an user according to a windows user account. I have found a platform function LogonUser in OSCall class. Unfortunately I cannot do an success authentication, the calling is always returning a false value. 

The user is a local user account.

I'm using the calling as is described bellow:

LogonUser callWith: lpszUsername(String) with: lpszDomain('') with: lpszPassword(String) with: dwLogonType(2) with: dwLogonProvider(0) with: phToken(String new)

Do you have any experience with this calling?

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/WQUunSneIBkJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.