I am not sure that the .profile property is correct in any case !!!
suppose the following situation :
- a user called "userID"
- an NT workstation with NT installed in c:\winnt
- an XP workstation with XP installed in c:\windows
if the user connects on the NT workstation, usually, the profile is c:\winnt\profiles\userID.
if the user connects on the XP workstation, usually, the profile is c:\documents and settings\userID.
now, suppose that a local account also called userID exist on each workstation and connects before the domain account, when the domain account connects, the profile can be c:\winnt\profiles\userid.001, c:\documents and settings\userid. or something else.
with all theses cases, i don't think that the WINNT provider gives a good answer in any cases.
to detect a user profile on a workstation, you need the user's SID and the computername. Then, look at the registry key :
\\computername\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\. If this key exists, read the value ProfileImagePath and now you have the local user's profile.
_________________________
Christophe