From: "Alice Potts" <[EMAIL PROTECTED]>
> Is there a way to get the user id in an application running on a Palm?

The answer to this is already in the archives several times, but here it is
again...

#include <DLServer.h>
...
Char userName[dlkMaxUserNameLength + 1];
DlkGetSyncInfo( NULL, NULL, NULL, userName, NULL, NULL );
// userName might not end with '\0', so insert one
userName[dlkMaxUserNameLength] = '\0';



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to