AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# ITaskList.IsActionAllowed Method

Returns whether a given `TaskListPermissions` is allowed for this task list.

bool IsActionAllowed(
TaskListPermissions permission
);

#### Parameters

permission
  The task list permission.

#### Return Value

`True` if the user can perform the given action, else `false`.

#### Remarks

This method can be used to determine if a user can perform a given action within the context of a task list such as editing a task list, copying a task list, editing task list security, etc. See the enumeration type `TaskListPermissions` for details about specific task list permissions.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The object has not yet been stored or has already been removed.
CollaborationException | The method call resulted in an error.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

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