AquaLogic Interaction Development Kit (IDK) 6.0.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 | The request is not gatewayed.

#### See Also

IPortletUser Interface | Plumtree.Remote.Portlet Namespace