Thats what I needed.  Thanks.

> -----Original Message-----
> From: Aaron Ardiri [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 29, 1999 12:20 PM
> To:   'PalmDevForum'
> Subject:      Re: User name registration
> 
> 
> this is what i use:
> 
> ---
> Char userName[dlkUserNameBufSize];
> 
> CharPtr
> getUserName()
> {
>   CharPtr firstSpaceP;
>  
>   DlkGetSyncInfo(NULL, NULL, NULL, &userName[0], NULL, NULL);
>  
>   // only use the FIRST name
>  
>   firstSpaceP = StrChr(userName, spaceChr);
>   if (firstSpaceP != NULL)
>     *firstSpaceP = '\0';   // put a '\0' at the end of the string
>  
>   return userName;
> }
> ---
> 
>   hope this helps.. you can get this source from HardBall
> 
> az.
> --
> Aaron Ardiri 
> Lecturer                       http://www.hig.se/~ardiri/
> University-College i G�vle     mailto:[EMAIL PROTECTED]
> SE 801 76 G�vle SWEDEN       
> Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
> Mob: +46 70 352 8192           A/H: +46 26 10 16 11
> 
> On Thu, 29 Apr 1999, Fawcett, Mitch wrote:
> 
> > A couple folks have mentioned using the Palm User Name as part of their
> > registration scheme. What's the best way to trap it's value?  Is there a
> way
> > to snag it out of the Palm device itself, or do I have to pull it from
> the
> > pc? I spent a few minutes looking thru the SDK and I didn't see any
> > references to "User Name".
> > 
> > 
> 

Reply via email to