Process api to find Get security roles by groups

Hi we are using custom index in our custom appliction.

I see when I create new group it created default in cs_Security_Role table all three membership types of roles.

Is there any Process Api i can find the roles Ids by group?

Or should I just access stored procedure "cs_Security_Roles_GetByGroup" ?

Thanks

Heeky



I think RoleService.GetRolesForGroup(groupId); has that implementation. Any process api has those function?
[edited by: heeky.you at 8:26 AM (GMT 0) on Fri, Oct 30 2020]