Re: Map network drive for user using VB/ASP.NET
- From: bruce barker <brucebarker@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 08:23:01 -0700
it sounds like you are trying to update the users profile and maybe the login
script. this can be done if the web site appdomin runs as a network admin or
you use kerberos and an admin logs on. see the wmi library for the routines.
you will need to switch to a nt admin forum to learn how to use wmi.
-- bruce (sqlwork.com)
"Brian Nicholson" wrote:
.
"Mark Rae [MVP]" wrote:
"Brian Nicholson" <BrianNicholson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:E6A45800-CF29-4E3E-B2E8-79E7FA25C73D@xxxxxxxxxxxxxxxx
I kind of understand what you're saying, but I didn't think I was using
the
browser itself as a means to perform the task -- I don't want the drive to
be
mapped on the client computer that's actually going to the web app. I was
considering something like an admin page where the admin could enter
certain
things like a network path, username, etc., and the app would use these
values in a VB script which could then perform the function (as if we
weren't
using a web app to begin with), e.g. using something similar to VBScript's
MapNetworkDrive.
Please clarify on which machine you intend to map a network drive: the
client machine, the web server or a different machine altogether...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
From my understanding of mapped network drives, they're done per user; the
drives aren't mapped on the actual machine. If by which machine I intend to
use to map it you meant the machine that will do the actual mapping, I
suppose the web server will do that. Basically, I want to be able to use
administrative rights over some web application that allows me to map a
network folder to a drive for a specified user.
- References:
- Re: Map network drive for user using VB/ASP.NET
- From: Mark Rae [MVP]
- Re: Map network drive for user using VB/ASP.NET
- From: Mark Rae [MVP]
- Re: Map network drive for user using VB/ASP.NET
- From: Mark Rae [MVP]
- Re: Map network drive for user using VB/ASP.NET
- Prev by Date: Re: Map network drive for user using VB/ASP.NET
- Next by Date: Re: How authenticate user manually?
- Previous by thread: Re: Map network drive for user using VB/ASP.NET
- Next by thread: Re: Map network drive for user using VB/ASP.NET
- Index(es):
Relevant Pages
|