Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IDiscussion.IsActionAllowed Method 

Returns true if a given DiscussionPermissions is allowed for this discussion.

bool IsActionAllowed(
   DiscussionPermissions permission
);

Parameters

permission
Discussion permission; cannot be null.

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 discussion such as editing, copying, and modifying security, etc. See the enumeration type DiscussionPermissions for details about specific discussion 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

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