Profile.SiteId property (Project)

Gets the GUID of the Project Web App instance for the active profile. Read-only String.

Syntax

expression. SiteId

expression A variable that represents a Profile object.

Remarks

If the active profile is for the local computer, the SiteId property is an empty string.

Example

If you enter the following statement in the Immediate pane of the VBE, the statement returns the GUID of the connected Project Web App instance, for example, {37522002-393E-4594-8017-9068DB816220}.

? Profiles.ActiveProfile.SiteId

Property value

STRING

See also

Profile Object

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.