permission to edit fields

A

AF

Hi,

We have an ASP app. that allows users to add an outlook
contact to their project. In code, the project number is
added to a contact custom field, and then the user saves
the contact. This is the only field that we want everyone
to be able to edit.

Is it possible to give users permission to edit only
certain custom (or built-in) fields in outlook, rather
than the only possibility to allow editing (of all fields)
or not?

Thanks,
Andrea
 
S

Sue Mosher [MVP-Outlook]

Not without getting into Exchange 2000/2003 per-field permissions. You can
do a certain amount with a custom form and disabled controls, but that won't
stop a determined user.
 
A

AF

Is there a way then, when I create the outlook app. in
ASP, to impersonate a different user that has permission
to edit rather than being the current windows user (so
then I can change the field value even for users that do
not have edit permissions)?

Thanks again,
Andrea
 
S

Sue Mosher [MVP-Outlook]

Well, actually, you shouldn't be using Outlook objects in your ASP code at
all, unless it's client-side JScript. Outlook is not suitable to run in a
server environment. CDO would be a better choice or, if you're using
Exchange 2000/2003, WebDAV.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

AF

Yes, sorry I didn't specify. I'm using client-side
javascript and VBScript. Is it possible to do what I want
with CDO?
We're actually starting to move things to ASP .NET. What
would you suggest here for working with Outlook?

Thanks
 
S

Sue Mosher [MVP-Outlook]

You could use CDO to impersonate a different user. Be aware that you'll
probably need to have the site in the Trusted Sites zone to avoid an ActiveX
security prompt.

ASP.NET makes it quite a bit more complicated, because you need to create a
custom web control that contains your client-side script.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Sue,
Thanks for the help!

Andrea
-----Original Message-----
You could use CDO to impersonate a different user. Be aware that you'll
probably need to have the site in the Trusted Sites zone to avoid an ActiveX
security prompt.

ASP.NET makes it quite a bit more complicated, because you need to create a
custom web control that contains your client-side script.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers






.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top