|
I am trying to create a vb.net application where you can type in a person username and select if that person is in office or out of office and add a auto-response message if they select out of office. This program then logs onto mspexchange server and sets the out of office assistant to in or out and adds the auto-response. The problem i am having is if i type in a user name and i don't have access to that persons account it brings up a dialog box asking me for the username and password to change that account. I do not want this to happen all i would like is if the person does not have permission to change that account display a message that says you do not have permission to access this account. I have found code to get rid of the profile box that shows up but not the mspexchange dialog. Oh by the way this is for my work and this is only my first day of vb.net programming so anything to help me out would be great.
|