Profile.LoginType property (Project)

Gets or sets the login type for an account profile in Project Professional. Read/write PjLoginType.

Syntax

expression. LoginType

expression A variable that represents a Profile object.

Remarks

The LoginType property can be one of the following constants: pjProjectServerLogin or pjWindowsLogin.

Example

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

Debug.Print Profiles(2).LoginType

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.