Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.11 KB

Project.Profile.Type.md

File metadata and controls

40 lines (23 loc) · 1.11 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Profile.Type property (Project)
project-server
Project.Profile.Type
ff5c3939-cfa6-c098-5fc4-180a4573ecb0
06/08/2017
medium

Profile.Type property (Project)

Gets a value that specifies whether the account profile being used is a local profile or for Project Server. Read-only PjProfileType.

Syntax

expression.Type

expression A variable that represents a Profile object.

Remarks

The Type property can be one of the following PjProfileType constants: pjLocalProfile or pjServerProfile.

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.

Example

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

Debug.Print Profiles(2).Type

[!includeSupport and feedback]