api rest - get your own role

404
1
02-03-2020 03:06 AM
Gesplan_SADeveloper
New Contributor

How do we get that?, I know positive that u can but it is for publisher or administrator privileges.

Get Roles—ArcGIS REST API: Administer your server | ArcGIS for Developers 

I mean how can afford it but with a user with no privileges than need to know his own role. Thanks in advance.

0 Kudos
1 Reply
GesplanSA
New Contributor II

Thanks to Jorge Barrachina Gutiérrez‌ to answer me this question. I show u to share it:

https://<agol-server>/sharing/rest/community/self

With that whoever user can get his/her own roleid.

0 Kudos