i class="blockList">
<h4>getRunAsRole</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getRunAsRole()</pre>
<div class="block">Gets the name of the runAs role of the Servlet represented by this <code>ServletRegistration</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the name of the runAs role, or null if the Servlet is configured to run as its caller</dd>
</dl>
</li>
</ul>
<