AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDiscussion.AddModerator Method

Adds a user to the discussion moderator list.

void AddModerator(
int userID
);

#### Parameters

userID
  The user ID; must be positive.

#### Remarks

The added ID will not be validated; adding an invalid, non-negative ID will both be acceptable and retrievable upon calling `GetModeratorIDs`. The user who creates a discussion is not added automatically as its moderator.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The object has not yet been stored or has already been removed.
ArgumentException | The user ID is not positive.

#### See Also

IDiscussion Interface | Plumtree.Remote.PRC.Collaboration.Discussion Namespace