Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IProject.IsActionAllowed Method 

Returns true if a given ProjectPermissions is allowed for this project.

bool IsActionAllowed(
   ProjectPermissions permission
);

Parameters

permission
Project 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 project such as editing a project, copying a project, editing project security, etc. See the enumeration type ProjectPermissions for details about specific project permissions.

Exceptions

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

See Also

IProject Interface | Plumtree.Remote.PRC.Collaboration.Project Namespace