AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IProxyUser.IsUserInRole Method

Get a boolean that describes whether the user currently is included in the specified role.

bool IsUserInRole(
string role
);

#### Parameters

role
  The role to query.

#### Return Value

`True` if the user is included in the role; `false` otherwise.

#### Remarks

If the user is not authenticated, this method returns `false`.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.

#### See Also

IProxyUser Interface | Bea.Alui.Proxy Namespace