This URL adds one or more members to the collaborative workspace, giving the members Author access. The command also provides an option to send an e-mail to each user who is successfully added.
URL structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- collabSpaceId
- (Required) The ID of the collaborative workspace.
- userId
- (Required) The full LDAP distinguished name of the user who will be added to the collaborative workspace. This parameter can be repeated for each member to be added.
- sendEmail
- The Boolean value (that is, true or false) of whether an e-mail should be sent to the users who are successfully added to the collaborative workspace. The default value is false.
- redirecturl
- (Required) The URL to be called when the command completes successfully.
Example
The following example adds the users "uid=wcsadmin,o=root organization" and "uid=newUser,o=default organization, o=root organization" to the Author group of the specified collaborative workspace, and sends an e-mail to each user.
http://myhostname/webapp/wcs/tools/servlet/CollabAddMember? collabSpaceId=Contract123_CS_2001-10-18_1635247849&userId=uid=wcsadmin, o=root organization&userId=uid=newUser,o=default organization, o=root organization&sendEmail=true
Behavior
- Adds the users to the Author group for the specified collaborative workspace.
- If the users are successfully added and the sendEmail parameter is set to true, the command sends an e-mail to the new user with the URL to access the collaborative workspace and the user's logon ID. The user's logon password will be the same as their WebSphere Commerce password (the default WebSphere Commerce password is wcsadmin).
Exception conditions
- The user who executes this command must have Manager access to the collaborative workspace.
- The users who are added must be registered and exist in LDAP.