Table of contents
Collapse the table of content
Expand the table of content

Application.OptionsSecurityEx Method (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Sets legacy security options that are available in the Trust Center dialog box.


expression. OptionsSecurityEx( ** RemoveFileProperties, ** TrustWSS )

expression A variable that represents an Application object.


NameRequired/OptionalData TypeDescription
RemoveFilePropertiesOptionalBooleanTrue if Project removes personal information from file properties upon saving. The default value is False. Corresponds to the Document-specific settings section on the Privacy Options tab of the Trust Center dialog box.
TrustWSSOptionalBooleanTrue if Project Server and project workspace sites need not be added to the Internet Explorer Trusted Sites list. False if the SharePoint sites for Project Server and project workspaces are already trusted. Corresponds to the setting on the Project Server tab of the Trust Center dialog box.
LegacyFileFormatsOptionalIntegerSets the option for opening or saving files with legacy or non-default file formats. Valid values are 0?2. Corresponds to the setting on the Legacy Formats tab of the Trust Center dialog box. Can be one of the constants in the PjLegacyFileFormats enumeration.

Return Value



The OptionsSecurityEx method deals with legacy settings for files created in an earlier version of Microsoft Project. To open a specific tab of the Trust Center dialog box in Project, use the OptionsSecurityTab method.

If an argument is omitted, its default value is specified by the current setting in the Trust Center dialog box. Using the OptionsSecurityEx method without specifying any arguments displays the Trust Center dialog box.

OptionsSecurityEx returns True if the user clicks OK in the Options dialog box, or False if the user chooses Cancel.

© 2018 Microsoft