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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

OData WebApi retriving systemuserroles_association

(0) ShareShare
ReportReport
Posted on by 25

Hello all,

Does anyone have any tips on how I can retrieve the systemuserroles_association value for a particular systemuser Id using the REST webapi?

I have been attempting this but receiving a runtime error from Dynamics

{{webapiurl}}/systemusers(076145e2-c9ad-eb11-8236-000d3a5b091d)&$expand=systemuserroles_association

Thanks in advance.

I have the same question (0)
  • Verified answer
    Paul W. Profile Picture
    25 on at
    RE: OData WebApi retriving systemuserroles_association

    Got it, for those that may stumble across this:

    {{webapiurl}}/systemusers?$select=accessmode,islicensed, systemuserid,domainname,lastname,fullname,createdon,isdisabled&$expand=systemuserroles_association

  • Community Member Profile Picture
    on at
    RE: OData WebApi retriving systemuserroles_association

    Glad your problem was solved and thank you for sharing!

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 51 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 42

#3
CU23101130-0 Profile Picture

CU23101130-0 17

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans