addUser
Adds a user to the project. If valid information is sent, a record ID for the user is returned. A SOAP error envelope is returned if the operation fails.
Parameters
| Parameter | Type | Description |
|---|---|---|
| cookie | long | Session cookie returned by projectLogon. |
| pUser | CUser | User fields and properties. |
Return value
| Value | Type |
|---|---|
| recordID | long |
Example
CUser usr = new CUser();
usr.firstname = "Firstname";
usr.middleinitials = "M";
usr.lastname = "Lastname";
long usrID = ttsdk.addUser(cookie, usr);