by
T Moore >> Wed, 23 Mar 2005 8:38:43 GMT
Scott
I'm not sure what the problem you are having is. What do you mean by "the Jade development environment is ended up" Is the system crashing with an exception?
You should have no need to download the secur32.dll file. It should exist in your windows system directory. This API is only included in windows 2000 professional and windows XP so if you are not using either of these then it will not work. You can use the GetUserName function (
http://msdn.microsoft.com/library/defau ... sysinfo/ba se/getusername.asp) to retrieve just the windows user name which is available on all versions of windows. I'm guessing that the problem is that you have downloaded the dll. Try deleting it and check that the dll exists in the system32 directory.
As has been pointed out in an earlier post, you do need to be careful about using this across NT domains as another user in another domain may have the same name. We retrieve the fully qualified name, not just the user and domain and then only limit this to our internal users. Even more care would be needed if you are using getUserName.
Our systems are running on Jade 5.2.8 and Jade 6.0.20 and Windows 2000 using this without any problems.
Torrie