Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Domain user login with other domain
Message
 
 
À
09/11/2015 15:11:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01627267
Message ID:
01627345
Vues:
118
>>I am using a code to login with a domain user account. That works perfectly fine when the user is logged on the computer with the primary domain:
>>lcCurrentUserDomain = GETENV("UserDomain")
>>
>>However some clients log onto Windows using a secondary domain (something to do with the exchange server), so the program cannot authenticate the user when I specify lcCurrentUserDomain. The authentication must be done on another domain.
>>
>>I wonder if there is a way to get a list of domains that the program could go through?
>
>Have you tried news2news.com? See if one of these two samples is helpful:
>http://www.news2news.com/vfp/index.php?example=427
>http://www.news2news.com/vfp/index.php?example=41

Thanks, slowly but surely I'm getting there. Somehow the domain gets taken from another property, which is called Domain. If I force to use the current user domain then it should work.
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform