I want group membership of user of type system administrator. I used

Certified Associate Developer
I want group membership of user of type system administrator.

I used getgroupsformemberuser() to get list of groups where user is member.
I used getgroupsforadminuser() to get list of groups that a given user is an administrator but it returns system groups. For basic user, same function returns list of groups that a given user is an administrator.

Is there any other function i can use?

OriginalPostID-215085

OriginalPostID-215085

  Discussion posts and replies are publicly visible

Parents
  • @kaushikr Yep, the requirement of yours may not be achieved with the available OOTB functionalities or Shared Components.

    Generally we look for API in these kind of situations in order to check for possibility of building a Shared Component, but at a high level, it's seeming to me that even the API functions are placing the limitation. The documentation at https://forum.appian.com/suite/help/16.2/api/com/appiancorp/suiteapi/personalization/GroupService.html#getGroupIdsForUserByRole-java.lang.String-java.lang.Integer- or https://forum.appian.com/suite/help/16.2/api/com/appiancorp/suiteapi/personalization/GroupService.html#getGroupsForUserByRole-java.lang.String-java.lang.Integer- indicates the same. Anyhow I am adding Eduardo as a participant to this post, so I believe he would be able to confirm on this.
Reply
  • @kaushikr Yep, the requirement of yours may not be achieved with the available OOTB functionalities or Shared Components.

    Generally we look for API in these kind of situations in order to check for possibility of building a Shared Component, but at a high level, it's seeming to me that even the API functions are placing the limitation. The documentation at https://forum.appian.com/suite/help/16.2/api/com/appiancorp/suiteapi/personalization/GroupService.html#getGroupIdsForUserByRole-java.lang.String-java.lang.Integer- or https://forum.appian.com/suite/help/16.2/api/com/appiancorp/suiteapi/personalization/GroupService.html#getGroupsForUserByRole-java.lang.String-java.lang.Integer- indicates the same. Anyhow I am adding Eduardo as a participant to this post, so I believe he would be able to confirm on this.
Children
No Data