Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Active Directory & Web Parts

0 views
Skip to first unread message

Pieter Jansen van Vuuren

unread,
Sep 16, 2003, 1:28:48 AM9/16/03
to
I used impersonation to get this to work!

I fact, I created a web service in which I impersonated a user with the
rights to change user settings in AD.

Then I call the web service from my webpart!

HTH

Pieter

"Toby Weston" <toby....@eds.com> wrote in message
news:019b01c37baf$f1ab8970$a401...@phx.gbl...
> I am attempting to create a web part that allows the
> authenticated user to change their password using the
> System.DirectoryServices namespace. However, I am
> getting "an operations error occurred" when making calls
> to either retrieve or set the properties of a user. Has
> anyone encountered this problem before and were you able
> to resolve it?
>
> Thanks!
>
> Toby


Toby

unread,
Sep 16, 2003, 1:14:00 PM9/16/03
to
Thanks Pieter. I was able to get it to work by passing
in a user account with the appropriate permissions when I
instantiated the DirectoryEntry object. I appreciate
your response though!

Toby

>.
>

0 new messages