Determine if a user belongs to a group via Groovy
Summary
The Groovy Class User does not provide a method to determine if a user belongs to Group.Content
Is there a way to check if a user belongs to a certain group from Groovy?
The current methods available allow to retrieve a user name, or check if the user equals a known name, but is there a way to determine the user group(s) membership?
I think it could improve the use cases for setForceReadOnly / setForceEditable
boolean |
<strong><a href="https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/groov/oracle/epm/api/model/User.html#equals(java.lang.Object)" style="text-decoration: none; color: rgb(76, 107, 135);">equals</a></strong>(java.lang.Object obj) |
Tagged:
2