I have a program and need to get the current user that is logged in on the WinNT or Win95 machine. I am using ILOG as the API. Is there an easy way to get the user information. I tried using the USER_INFO_10 struct, but was unsuccessful. If this is the method of choice, can someone give a quick example on how to use the struct properly.