Integrations/MicrosoftGraphGroups/MicrosoftGraphGroups.py
def list_members(self, group_id: str, next_link: str = None, top: int = None, filter_: str = None) -> Dict:
        """List all group members by sending a GET request.

        Args:
            group_id: the group id to list its members.
            next_link: the link for the next page of results, if exists. see Microsoft documentation for more details.
                docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
            top: sets the page size of results.
            filter_: filters results.
        Returns:
            Response from API.
        """
        if next_link:  # pagination
            members = self.http_request('GET', next_link)
        elif filter_:
            members = self.http_request('GET', f'groups/{group_id}/members?$filter={filter_}&$top={top}')
        else:
            members = self.http_request('GET', f'groups/{group_id}/members?$top={top}')

        return members
List all group members by sending a GET request.

        Args:
            group_id: the group id to list its members.
            next_link: the link for the next page of results, if exists. see Microsoft documentation for more details.
                docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
            top: sets the page size of results.
            filter_: filters results.
        Returns:
            Response from API.
        
List all group members by sending a GET request.
List all group members by sending a GET request .
def list_members(self, group_id: str, next_link: str = None, top: int = None, filter_: str = None) -> Dict:
        if next_link:  
            members = self.http_request('GET', next_link)
        elif filter_:
            members = self.http_request('GET', f'groups/{group_id}/members?$filter={filter_}&$top={top}')
        else:
            members = self.http_request('GET', f'groups/{group_id}/members?$top={top}')
        return members
def list_members ( self , group_id : str , next_link : str = None , top : int = None , filter_ : str = None ) -> Dict : if next_link : members = self . http_request ( 'GET' , next_link ) elif filter_ : members = self . http_request ( 'GET' , f'groups/{group_id}/members?$filter={filter_}&$top={top}' ) else : members = self . http_request ( 'GET' , f'groups/{group_id}/members?$top={top}' ) return members
List all group members by sending a GET request.
List all group members by sending a GET request .
"""List all group members by sending a GET request.

        Args:
            group_id: the group id to list its members.
            next_link: the link for the next page of results, if exists. see Microsoft documentation for more details.
                docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
            top: sets the page size of results.
            filter_: filters results.
        Returns:
            Response from API.
        """ # pagination
Response from API.
Response from API .
self
group_id
str
the group id to list its members.
the group id to list its members .
next_link
str
the link for the next page of results, if exists. see Microsoft documentation for more details.
docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
the link for the next page of results if exists . see Microsoft documentation for more details . docs . microsoft . com / en - us / graph / api / group - list - members?view = graph - rest - 1 . 0
top
int
sets the page size of results.
sets the page size of results .
filter_
str
None