>Hi Sergio,
>
> You can user ID() function of VFP, It gives the login name as well as user name on novell network.
> Try ?ID(), I think this will solve your problem.
There is no internal ID() function in VFP; the SYS(0) function comes close, but is not (at least IMO) the best solution - it returns a string consisting of the NetBIOS name of the local machine followed by a ' # ' followed by the local userid in at least a Microsoft Networking network environment, but has somewhat inconsistent behavior both standalone and under NetWare, and does not provide a way to determine the userid used to log into a specific resource - often, I'm more interested in the userid used to log into the server than I am with the local machine userid. The API call WNetGetUser() is capable of doing both jobs, and behaves consistently.