Application.ResourceWindowsAccount method (Project)

Sets the security identifier for Microsoft Windows authentication for the selected resource(s), based upon a Microsoft Exchange Server Address Book.


expression. ResourceWindowsAccount( _Name_, _ShowDialog_ )

expression A variable that represents an Application object.


Name Required/Optional Data type Description
Name Optional String The name of a resource for whom a security identifier is to be obtained. If an exact match is not found, the mail system will bring up the Check Names dialog box for manual selection. If Name is not specified, security identifier(s) will be obtained for the selected resource(s).
ShowDialog Optional Boolean True if the user is prompted to confirm adding the security identifier to the Windows User Account field for each resource specified with Name. The default value is True.

Return value



The ResourceWindowsAccount method is only available in resource views. If the optional Security Identifier field in the Address Book is blank, the ResourceWindowsAccount method has no effect.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.