Profiles.Add Method
Project Developer Reference |
Adds a Profile object to Profiles collection.
Syntax
expression.Add(Name, Server, LoginType, UserName)
expression A variable that represents a Profiles object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Name | Required | String | The name of the profile. |
Server | Required | String | A string representing the URL of the Project Server. |
LoginType | Optional | Long | The login type for the Project Server. Can be one of the PjLoginType constants. The default value is pjWindowsLogin. |
UserName | Optional | String | A string representing the user name. |
Return Value
Profile
See Also