AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# ITaskListManager.SubscribeUsers Method

Subscribes users of the given IDs to the given task list.

void SubscribeUsers(
ITaskList taskList,
int[] userIDs
);

#### Parameters

taskList
  The task list the users will be subcribed to; cannot be `null`.
userIDs
  The IDs of the users to subscribe; cannot be `null` and all IDs must be positive.

#### Remarks

The calling user must have admin access to the project containing this task list, and the users to be subscribed have to have at least READ access to the task list. The call will make a best attempt to subscribe all supplied, valid users. A `MultipleObjectException` will be thrown specifying the IDs that failed to be subscribed.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The task list has not yet been stored or has already been removed.
ArgumentException | One or more of the user IDs is not > 0.
MultipleObjectException | One or more of the users cannot be subscribed.
CollaborationException | The method call resulted in an error.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

ITaskListManager Interface | Plumtree.Remote.PRC.Collaboration.Tasklist Namespace