Skip to main content
Browse Documentation

Get child group membership by group id

Created by Alex Pop on 04 Aug 2020

Gets the direct child group members of the group.

getChildGroupsByGroupId(groupId: string): Promise<PagedList<Group>>

Example

let groupId = "4b262379-5bbe-421e-a429-f6e2ab5a849b";

client.security.groups.getChildGroupsByGroupId(groupId)
    .then(result => {
        console.log('API call result: ', result);
    })
    .catch(error => {
        console.log('API call error: ', error);        
    });

Gets the direct child group members of the group.

getChildGroupsByGroupName(groupName: string): Promise<PagedList<Group>>

Example

let groupName = "Test Users";

client.security.groups.getChildGroupsByGroupName(groupName)
    .then(result => {
        console.log('API call result: ', result);
    })
    .catch(error => {
        console.log('API call error: ', error);        
    });