You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Determine if a user belongs to a group via Groovy

edited Mar 1, 2021 11:16PM in Planning 4 comments

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&nbsp;obj)
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!