>>>Another alternative to get the real full name is:
>>>
>>>
>>>oSysInfo = GetObject("WinNT://DOMAIN/USERNAME")
>>>? oSysInfo.Fullname
>>>
>>>
>>>Bye, Olaf.
>>
>>I got an error from this "Moniker can not open the file".
>
>Did you replace 'DOMAIN/USERNAME' with real values?
Good question. No, I did not <g>
If it's not broken, fix it until it is.
My Blog