Problem Statement: Need appropriate API to fetch all parent groups of

Problem Statement:

Need appropriate API to fetch all parent groups of a given User using Appian API.

Description:

There are two queries that I am facing with GroupService:

1. For a given user, I want to retrieve all the groups in which the user is either a member or an administrator. For fetching groups in which the user is a member, I use the following method to get proper results.
GroupService.getGroupIdsForUserByRole(userName, GroupService.USER_ROLE_MEMBER)

Also for fetching parent groups for a basic user, using API GroupService.getGroupIdsForUserByRole(userName, GroupService.USER_ROLE_ADMINISTRATOR), yields correct results.
However if the user is an administrator, using the above API, only System Groups of which the user is administrator are fetched. This is also explained in the API documentation.

Please provide a way to find out all the groups of which the user is administrator ( System as well as Custom groups).

2. For a given user, I need to...

OriginalPostID-97033

OriginalPostID-97033

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data