Jump to content


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.
Photo

Extract Data from sdLogonUserInformation


2 replies to this topic

ftk

ftk
  • Members
  • 2 posts

Posted 10 October 2005 - 21:41

Hello,

I am looking for a way to store the Username and Password data for a user created with the sdLogonUserInformation dialog in string variables for later use (XML file manipulation for impersonation settings).

Could anybody enlighten me on how to retrieve said information when/after the user clicks "Next" in the dialog?

Thanks a million,
Felix

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 October 2005 - 09:44

It is returned in the third and fourth parameter of the SdLogonUserInformation function. If you don't see it in your script you may need to add the OnFirstUIBefore event handler to your setup.rul.

ftk

ftk
  • Members
  • 2 posts

Posted 11 October 2005 - 14:45

I looked at the prototype for the function and apparently the user name and password are send BYREF. Should've thought of that earlier.

Thank you for your reply!
-Felix

CODE
external prototype SdLogonUserInformation(BYVAL STRING, BYVAL STRING, BYREF STRING, BYREF STRING);