Is there any way of
finding out what the my documents directory of another user
is?
We are running
an ASP system using Citrix and Terminal Services on Windows 2000 server. I am
running a process as Administrator that does some automatic status checking on
clients databases. Some of these processes produce error reports (quick reports)
which we want to save to the clients my documents directory. I can find out what
the My Documents directory of the current user is, but I can't see how to find
it for another user. From the Windows NT user information API I can find
out what the Documents and Settings dir is if it is not the default, but if it
is the default then the information is blank. Currently I am assuming that
the directory is C:\Documents And Settings\UserName\My Documents, but this
doesn't work if the username has changed. The settings directory remains as it
was for the original username.
Stacey
Stacey
Verner Ph: +64-9-4154790
Software Developer Fax: +64-9-4154791
CJN Technologies Ltd. Email: [EMAIL PROTECTED]
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/
Software Developer Fax: +64-9-4154791
CJN Technologies Ltd. Email: [EMAIL PROTECTED]
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/