Re: Changing User Password - Credential Problem
From: - Steve - (sevans_at_foundation.sdsu.edu)
Date: 04/02/04
- Next message: Mike: "Re: POST question"
- Previous message: MattB: "cutting down on postbacks"
- In reply to: bruce barker: "Re: Changing User Password - Credential Problem"
- Next in thread: Bruno Sirianni: "Re: Changing User Password - Credential Problem"
- Reply: Bruno Sirianni: "Re: Changing User Password - Credential Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 2 Apr 2004 10:42:07 -0800
This is for admins to reset users forgotten passwords, etc. So I don't know
the existing password of the account.
How can I impersonate another account? Preferably how do I get it to
execute under the context of the user that logged into IIS (it's protected
with basic authentication)
--
Steve Evans
Email Services
SDSU Foundation
"bruce barker" <nospam_brubar@safeco.com> wrote in message
news:%23UbfICOGEHA.1180@TK2MSFTNGP09.phx.gbl...
> you should have the user pass the old password, then impersonate them,
then
> change password to new password., otherwise you need to impersonate a
domain
> admin
>
>
> -- bruce (sqlwork.com)
>
>
> "- Steve -" <sevans@foundation.sdsu.edu> wrote in message
> news:eC4VE#NGEHA.2732@tk2msftngp13.phx.gbl...
> > I'm trying to change a user's password using
objUser.Invoke("setPassword",
> > "newpassword")
> >
> > It works fine as a console application if I'm logged in with someone
with
> > the correct permissions. If I'm logged in as a normal user it doesn't
> work,
> > even though call before that,
> >
> > objUser.Username = "admin@domain.com"
> > objUser.Password = "adminpassword"
> >
> > Obviously the ASP.NET account doesn't have permissions to change
passwords
> > so how can I escalate my permissions for this one task?
> >
> > -
> > Steve Evans
> > Email Services
> > SDSU Foundation
> >
> >
>
>
- Next message: Mike: "Re: POST question"
- Previous message: MattB: "cutting down on postbacks"
- In reply to: bruce barker: "Re: Changing User Password - Credential Problem"
- Next in thread: Bruno Sirianni: "Re: Changing User Password - Credential Problem"
- Reply: Bruno Sirianni: "Re: Changing User Password - Credential Problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|