>>
>>Yup, that's right! However I suggest you do the GetLastError() in case it return ERROR_MORE_DATA (need longer buffer) or an error other than above
>>
>>>Thank you and to all the others.
>>
>>You're welcome :)
>>Regards
>
>
>Forgot to mention that you must relog in once to take effect or it would return Steve again.
Sorry, I fallen a sleep <bg> (it was 6.30 AM here).
What do you mean by "must relog in once", can you explain a bit more? I ran the code over and over, it always return the last updated "account name"
Herman