Outlook Tab Security

H

HappyOne

When designing a outlook form, is there a way to hide certain tabs from
certain users? Or is there another way to do this? I am new to designing in
outlook so any help is greatly appreciated.

Thanks.
 
S

Sue Mosher [MVP-Outlook]

There is no such built-in security. You'd have to build your own scheme into the code behind the form. For example, you can check Application.Session.CurrentUser and, based on the result, call Item.GetInspector.ShowFormPage to show a particular page.
 
H

HappyOne

Thanks for your fast reply. I have one more question. The
Application.Session.CurrentUser only returns the current user. Is there a way
to find out which group this user is in? Thanks in advance.
 
S

Sue Mosher [MVP-Outlook]

"group" as in membership in Active Directory security or distribution groups? If you're limited to the Outlook object model, you'd have to look at the membership of each group. Outlook doesn't expose group membership as part of an AddressEntry. In Redemption, however, you get an RDOAddressEntry.IsMemberOfDL property.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
H

HappyOne

What would be your suggestion in filtering out what users can and cannot see?
Would the best be multiple forms in different folders and set the rights on
those shared folders?
 
S

Sue Mosher [MVP-Outlook]

Remember that forms are just UI/code templates. It is the items in the folders that contain the data. Blocking someone from using a custom form doesn't prevent them from seeing the data in the folder. It's impossible to say more without details on what you're trying to hide.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

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