" title="class or interface in java.lang">String</a>&nbsp;groupsQuery</pre>
<div class="block">SQL query to retrieve the groups associated with the caller when
 authentication succeeds.

 Only needed when <a href="../../../../jakarta/security/enterprise/identitystore/DatabaseIdentityStoreDefinition.html#useFor--"><code>useFor()</code></a> contains
 <a href="../../../../jakarta/security/enterprise/identitystore/IdentityStore.ValidationType.html#PROVIDE_GROUPS"><code>IdentityStore.ValidationType.PROVIDE_GROUP