<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007fWwG9CAKOkta Classic EngineAdministrationAnswered2022-05-25T19:13:39.000Z2022-05-24T16:06:40.000Z2022-05-25T19:13:39.000Z

DavidB.43649 (Customer) asked a question.

Group Rule - Manager is member of group

I'm trying to add users to a group if their manager is a member of another group.

 

I tried the following:

 

user.getManagerUser("active_directory").isMemberOfGroup("**********")

 

But it errors with "Expression user.getManagerUser("active_directory").isMemberOfGroup("**********") does not resolve to type Boolean"

 

Which doesn't make sense as the getManagerUser function's return type is boolean.

 

Any other ways I can accomplish this?

 


  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Hi @DavidB.43649 (Customer)​,

     

    Thank you for posting on the Okta community page!

     

    I have done some research on my end and it seems that there is no out of the box solution for the scenario that you are trying to achieve as Okta does not have the capability to add a user to a group based on another user's profile.

     

    If you would like to see such functionality in Okta the best route to pursue this is via a feature request. The best way to file feature requests would be from the community site.

     

    Once feature requests are submitted they are visible to other Okta admins, who can vote on them to provide more visibility. Using this method will allow you to maintain visibility on your feature requests throughout the process.

    Expand Post
This question is closed.
Loading
Group Rule - Manager is member of group