Get a list of members within a group role without HTTP Service

I’m looking to setup a credits page which scrapes users from a group. Is there an API to achieve this without using HTTP Service?

For example:
:GetMembersInRole(4676369, “Team”)

Return: {421194271, 195261420, 358547858, etc}

1 Like

Not that I am aware of. Why wouldn’t you want to use HttpService?

I’ll be using this for HD Admin where the majority of our users do not have HTTPService enabled.

1 Like

If, as @xuefei123 said, there’s no way to get members in a role without HttpService, you could:

  1. Use a table of names to display them that you change with each update as needed. This only makes sense if you don’t add team members as frequently as you do updates.

or

  1. Require your users to turn on HttpService in order to use your admin / view certain pages. This could open them up to vulnerabilities if they have malicious code trying to access HttpService.
2 Likes

Sadly not, no built in functions exist in order to get all members in a group (or role) as far as I am aware.

The only way would be to have a built in module which you’d update yourself e.g. you could update a single module using an API system on your side and then using the insert service it could get the asset and use it as data for the credits - it could even do it live if you really wanted providing the model is saved to Roblox.

That way it wouldn’t matter if they had HTTPService enabled (as far as I’m aware). I use this method to import in the base server mechanics for my games to stop load lag but it could easily be reapplied to this scenario.

2 Likes