Hello, is it possible to set upper limit on number of users in a role ? we have a situation where a role should have only X number of users and should not allow Role Owner for adding new users after reaching that threshold.
Hello, is it possible to set upper limit on number of users in a role ? we have a situation where a role should have only X number of users and should not allow Role Owner for adding new users after reaching that threshold.
Hi Srikanth,
I don't know of a formal limit that you can apply to the role or role set to forcefully prevent a role exceeding X members or entitlements. However, depending on your specific use case there are a few approaches you could take.
Hope that helps!
Alex.
one other option could be the Role Membership rule.
The SQL there would need to
a) make sure it is scoped to the role name in question
b) count all current members
c) consider the current member user base
If the count is above a certain threshold, it would return only the current users as the allowed members, otherwise it would return all users (or scoped down to the desired potential user population).
Like Alex, you could use forms to do part of the enforcement (pro-active). If the current user base count is above a cerain level, the rule would not get suggested to users, basically staying hidden (depending on your form control).
A rule on the role membership rule difference could enforce it re-actively. for that, the Role Membership rule would need to return only the e.g. oldest X members to be in the membership scope IF the membership count exceeds a certain level.
hope this makes sense.
Frank
one other option could be the Role Membership rule.
The SQL there would need to
a) make sure it is scoped to the role name in question
b) count all current members
c) consider the current member user base
If the count is above a certain threshold, it would return only the current users as the allowed members, otherwise it would return all users (or scoped down to the desired potential user population).
Like Alex, you could use forms to do part of the enforcement (pro-active). If the current user base count is above a cerain level, the rule would not get suggested to users, basically staying hidden (depending on your form control).
A rule on the role membership rule difference could enforce it re-actively. for that, the Role Membership rule would need to return only the e.g. oldest X members to be in the membership scope IF the membership count exceeds a certain level.
hope this makes sense.
Frank