Active directory, change user attributes
Hi,
I would like to create a tool in C# (windows forms, or asp.net) to edit the user attributes in AD e.g. description, organization, phone number etc.
I have read upon DirectoryServices, and I think this is what I need.
But my question is, what if my user is not an Administrator or some user with privileges to edit this information? Will my program work?
Or should I use some sort of logon first inside my code?
I could not find answers to these questions, seems like everybody assumes we are all administrators.
I hope somebody can give me some info. thanks.
|