Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Retrieve related entities

(0) ShareShare
ReportReport
Posted on by

Hi i was trying to fetch systemuser based on security role assigned to it. I was trying this call /api/data/v9.0/roles(role id)?$expand=systemuserroles_association. My question was how many systemuser will be returned in the response? is there any pagination? or all the related users will be returned?

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Retrieve related entities

    so, 5000 roles or 5000 systemuserroles_association entries in one role?

  • Suggested answer
    Gampi Reddy Profile Picture
    87 on at
    RE: Retrieve related entities

    Hi Kartik,

    Unless you specify a smaller page size, a maximum of 5000 records will be returned for each request. If there are more records that match the query filter criteria, a @odata.nextLink property will be returned with the results. Use the value of the @odata.nextLink property with a new GET request to return the next page of data.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans