Thank You
Barbara
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Check if user account is existing
Started by
Barbara
, Nov 05 2001 18:56
3 replies to this topic
Posted 05 November 2001 - 18:56
I like to install a NT service running on a special user account. I ask for the user account / password in a special dialog. Whats the best way to check if the user account is existing on the local machine ?
Posted 05 November 2001 - 21:37
Hi,
You can write C code to call NetUserGetInfo function to detect the user account on the local computer. See information about this function in MSDN.
Good luck!
You can write C code to call NetUserGetInfo function to detect the user account on the local computer. See information about this function in MSDN.
Good luck!
Posted 06 November 2001 - 16:54
Thank You for Your response. I hoped that I could avoid writing C-code for the setup, but it seems to be the only possibilty.
Barbara
Posted 14 November 2001 - 17:04
Hi,
I've written a utility for this issue. It is a commandline-app you can call:
authenticate.exe DOMAIN user pass
It will return OK or an Error-message. I currently call it using a VB-Script custom action. Mail me and I will send it to you!
Best regards,