Profile Object (Project)

Represents an account profile in Project Professional. The Profile object is a member of the Profiles collection.

If the second account profile is a Project Server account, the following statement returns the value 1, which is the value of the pjServerProfile constant in the PjProfileType enumeration.

Debug.Print Profiles(2).Type

The Project Server Accounts dialog box shows the number and order of profiles. Use Profiles.Count to programmatically determine the number of account profiles defined in Project Professional.

© 2015 Microsoft