web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    Gampi Reddy Profile Picture
    87 on at

    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.

  • Community Member Profile Picture
    on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans