question

Abdullah Sohail avatar image
Abdullah Sohail asked

Best way to check a player role in a group?

Please do mention API's in the solution. Thank you!

multiplayer
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

·
Citrus Yan avatar image
Citrus Yan answered

ListMembership lists all groups a player is currently in, along with the roles for each group. You can iterate through the entries from the result to check a player role in a specific group. For more details, please check out the API reference: Groups - List Membership - REST API (PlayFab Groups) | Microsoft Docs

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.