I've used SyncReadUserId, which returns user information in the CUserIDInfo
class. Then PltGetUserDirectory will give you the user's directory.
Although I haven't used them, you could also possibly use the User Data
APIs, but I think you need a user index, which you might be able to derive
from the CUserIDInfo class.
Regards,
Steve
-----Original Message-----
From: J Feinberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 5:46 PM
To: Palm Developer Forum
Subject: Find user directory
Hi,
Are there any functions that help determine the user installing your PRC
and/or conduit? Or allow them to pick?
During the conduit install I want to copy a .PRC to the user's install
directory so it will automatically be picked up by the install tool.
i.e. C:\Palm\(UserName)\Install\My.prc
I can easily get the Palm core directory w/ cm___ functions, but how do you
find the username(s) ??
Thanks!
Jason
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/