0

I had no idea what to title this, so please excuse the stupidity of it. I've written a WPF application that runs as an xbap on my intranet server. What I want to be able to do is have the IT staff update users credentials and have it save to AD. So far it has worked, and I use "directoryEntry.commitChanges()".

However my issue is that, I also have other users who do not have full permission to edit all AD fields. For example i have testUser who can only edit the notes field of any user in AD. With my application, when I try to do a commitChanges on testUser, I get the permissions exceptions of course. Is there a way to save/update individual fields or for lack of a better phrase "Update only what I can" and just ignore the rest?

Please let me know if this isn't clear. I haven't had luck googling this at all. Thanks in advance!

P.S I'll try to answer be active here (i'm new) and help answer questions if I can.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by AndreRet
0

The way I have done something like this before is to create a table in my database for users. Before changing any user credentials, determine if a user has full access or not by checking their status from the table created.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.