Thanks for the information. However I'd like the user ID, not the user
name. I'd also like to know how the user ID is generated/assigned.
- Alice
"Richard Burmeister" <[EMAIL PROTECTED]> wrote in message
news:10846@palm-dev-forum...
>
> 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/