Multi users

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I'm writing an application that needs to run on with different users logged
on. I want to access the same file from my app but with different users. The
file in question is initially set up using one user, but the other user
reports a read only error. Are files created under one user protected? The
other user is a guest. If I make them an administrator (I need them to be a
limited user) everything is fine. I need to distibute my app. Will this
cause the same error under all XP systems and for that matter, 2000 too?
 
Hi Steve,

You need to set access permissions on that file. Right-click it, select
properties, add users to the security tab. This obviously needs to be done
while logged on to the account that can access it.

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x

Associate Expert - WinXP - Expert Zone
 
from the wonderful said:
I'm writing an application that needs to run on with different users logged
on. I want to access the same file from my app but with different users. The
file in question is initially set up using one user, but the other user
reports a read only error. Are files created under one user protected?

Depends on how the XP system is set up, and where the file was put. Try
sticking it under c:\documents and settings\all users\documents\ folder
... that's the 'shared documents' folder. Individual user's documents
=may= (or may not, depending on the set up) be private.
The
other user is a guest. If I make them an administrator (I need them to be a
limited user) everything is fine. I need to distibute my app. Will this
cause the same error under all XP systems and for that matter, 2000 too?

If you mean 'guest' as in 'the built in guest account', that one has
sundry weird restrictions which don't apply to normal limited users. I
personally avoid using it.

This is one area where XP Home != XP Pro != Win2k, so you probably need
to do some reading on the security setups in each.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top