Share via


Profile Object Members

Project Developer Reference

A Profile object represents a user profile in Microsoft Office Project 2007.

Methods

  Name Description
Bb179404.methods(en-us,office.12).gif Delete Deletes an object from its containing collection.

Properties

  Name Description
Bb179404.properties(en-us,office.12).gif ConnectionState Returns the connection state of Project, which allows you to determine whether the online mode is for a local profile or for Microsoft Office Project Server 2007. Can be one of the following PjProfileConnectionState constants: pjProfileOffline or pjProfileOnline.
Bb179404.properties(en-us,office.12).gif LoginType Returns or sets the login type for a specified profile. Can be one of the following PjLoginType constants: pjProjectServerLogin or pjWindowsLogin. Read/write Long.
Bb179404.properties(en-us,office.12).gif Name Returns the name of a Profile object. Read/write String.
Bb179404.properties(en-us,office.12).gif Server Returns or sets the Project Server name of the specified profile. Read/write String.
Bb179404.properties(en-us,office.12).gif Type Specifies whether the profile being used is for a local profile or for Office Project Server 2007. Can be one of the following PjProfileType constants: pjLocalProfile or pjServerProfile. Read-only Long.
Bb179404.properties(en-us,office.12).gif UserName Returns or sets the name of the current user. Read/write String.