.lang" class="external-link">IllegalStateException</a></code> - if called outside the scope of a request</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isUserInRole(java.lang.String)">
<h3>isUserInRole</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">isUserInRole</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class