You can use the AddUserToGroup function toadd participants to the project. Specify the projectID as the toType parameterand then either “Coordinators”, “Members” or “Guests”for the toName parameter.
Hope this helps.
Kevin
From: eLinkDiscussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com] Sent: Monday, March 15, 2004 3:05PMTo: eLink RecipientSubject: Adding participants tothe Project
Adding participants to the Project
Posted by APPMAT03gdc on 03/15/2004 03:01 PM
How to add participants to the project using LAPI? I have created a project using CreateObjectEx() method. Would anybody guide me how to add a partipants to the project? Thanks
Doesn’t look like anything isincorrect. Double check that the projID is the positive value and not thenegative ID of the project volume.
From: eLinkDiscussion: LAPI Discussion [mailto:lapi@elinkkc.opentext.com] Sent: Tuesday, March 16, 2004 2:17PMTo: eLink RecipientSubject: Thanks Kevin! I am usingAddUserToGroup() method like this
Thanks Kevin! I am using AddUserToGroup() method like this
Posted by APPMAT03gdc on 03/16/2004 02:14 PM
In reply to: RE Adding participants to the Project
Posted by kward (Ward, Kevin) on 03/16/2004 11:28 AM
Thanks Kevin! I am using AddUserToGroup() method like this: int retUserVal = users.AddUserToGroup("Jeff", projID, "Members"); It couldn't add the participant to the project. I have added "Jeff" as a user to DefaultGroup. My program is giving the following error: ErrorNo:400202 StatusMessage:Could not get the specified user or group. Would you please let me know where I am making the mistake? Thanks in advance. Thanks