Hallo. I have an exe that runs from everyone's StartUp folder in their profile. This runs in their desktop, so I can extract the name & write it to an ini file & retrieve it whenever necessary.
However, I use this information to keep profiles etc. cleaned up (limited space on NT4), and this approach seems to me to hold alot of potential for disaster.
Does anyone know where the current profile users name is stored on NT? Or where the SID is at & how I can cross reference it with their name? If I could make a confident call before each process, I'd sleep a great deal easier.
Any & all help gratefully received.
Cheers,
Douglas JL.
If it don't make you laugh, it ain't true.
However, I use this information to keep profiles etc. cleaned up (limited space on NT4), and this approach seems to me to hold alot of potential for disaster.
Does anyone know where the current profile users name is stored on NT? Or where the SID is at & how I can cross reference it with their name? If I could make a confident call before each process, I'd sleep a great deal easier.
Any & all help gratefully received.
Cheers,
Douglas JL.
If it don't make you laugh, it ain't true.