fn!getgroupsformemberuser giving error ": Incorrect privileges to get groups for user"

Hi,

We are using function "getgroupsformemberuser" like this:apply(fn!getgroupsformemberuser,<lastUpdatedUserId>).

This works fine in all environment except the one where we get error as:-

com.appiancorp.suiteapi.common.exceptions.AppianException: Incorrect privileges to get groups for user. [User Context: 

We get error when <lastUpdatedUserId> is not part of logged in user's group.

We checked that group security setting are same as in other environments

 

Please help.

 

Thanks,

Jayashri

  Discussion posts and replies are publicly visible