Think about it. When your app impersonates a domain user account, that
domain user account must have permission to access the directory. Therefore,
any domain user account that has permission to access that directory can be
used to access the directory.
Now, see if you can follow me here: If any domain user account must have
permission to access the directory, and your application must impersonate a
domain user account with permission to access the directory, your
application's user account could access that directory without impersonating
another domain user account if it had permission to access the directory
itself.

Signature
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Who is Mighty Abbott?
A twin turret scalawag.
> When create a new directory on a remote machine it works when
> impersonate="true" credential is given . Is there any other method that a
> proper
> access can be given to create a directory . iT would be helpful if i get
> the
> steps to do it . expecting the reply soon
anand - 14 Feb 2006 09:46 GMT
can u explan a lillte more in detail or help me with any sample code please
> Think about it. When your app impersonates a domain user account, that
> domain user account must have permission to access the directory. Therefore,
[quoted text clipped - 14 lines]
> > the
> > steps to do it . expecting the reply soon