Share via


Application.OptionsSecurity Method

Project Developer Reference

Sets the Security options available on the Security tab of the Options dialog box.

Syntax

expression.OptionsSecurity(RemoveFileProperties, TrustWSS)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
RemoveFileProperties Optional Boolean True if Microsoft Office Project 2007 and Microsoft Office Project 2003 removes Author, Manager, Company, and Last Saved By information from the project upon saving. The default value is False.
TrustWSS Optional Variant

Return Value
Boolean

Remarks

If an argument is omitted, its default value is specified by the current setting on the Security tab of the Options dialog box. Using the OptionsSecurity method without specifying any arguments displays the Options dialog box with the Security tab selected. OptionsSecurity returns True if the user clicks OK in the Options dialog box, or False if the user clicks Cancel.

See Also