thanks for the reply stuart
>Hi
>
>> i am looking for a way to get the users name from windows,
>> so if they log into their machine in the morning using
>> "Bart Simpson" then i want to be able to retrieve this name.
>
>Are you after the user's full name? This should work on any w2k system (or earlier with the AD client installed)
>
>oWinNTSystemInfo = createobject("WinNTSystemInfo")
>oUser = getobject("WinNT://" + oWinNTSystemInfo.domainname + "/" + oWinNTSystemInfo.UserName + ",User")
>? oUser.FullName
Go raibh maith agat
~M