Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortletUser.HasActivityRight Method 

Returns a flag that indicates whether or not the current user has the specified Activity Right.

bool HasActivityRight(
   string activityRight
);

Parameters

activityRight
the Activity Right

Return Value

true if the user has the Activity Right and false otherwise

Remarks

Note: If the portal administrator has not configured the portal to send the requested Activity Right to the Portlet, this method will return false for all users.

Exceptions

Exception Type Condition
NotGatewayedException if the request is not gatewayed

See Also

IPortletUser Interface | Plumtree.Remote.Portlet Namespace