question

DENNIS KAMAU GITONGA avatar image
DENNIS KAMAU GITONGA asked

List Membership for an Entity That is not the current Logged Entity

I want to get the membership list of a different entity, i.e. not the logged in Entity. Supplying the Entity field in the ListMembershipRequest with the different entity doesn't work, it defaults to the current logged user. Any help would be appreciated. Thanks in advance

Shared Group Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

By default, the API ListMembership will list groups and roles for the currently logged in entity. If you want to list other entity ‘s membership, you should call API GetEntityToken to get title Entity Token first, then use it to call API ListMembership, and set the Entity field in the ListMembershipRequest with the entity you want. You can complete it through Azure Function.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.