Refresh User Membership

URL:
https://<root>/security/users/refreshMembership
Methods:
POST
Required Capability:
Access allowed with the "Security and Infrastructure" privilege
Version Introduced:
10.3

Description

The refreshMembership operation iterates over every enterprise group configured in an organization and determines if the user accounts listed in the users parameter belong to any of the configured enterprise groups. If there is any change in membership (a user has been added or removed from the enterprise group), the database and the indexes are updated for each user account. While ArcGIS Enterprise automatically refreshes the memberships when a user logs in and during a periodic refresh (configured through the Update Identity Store operation), this operation allows an administrator to force a refresh.

Request parameters

ParameterDetails

users

The comma separated list of user names for whom the memberships need to be refreshed.

Example
1
users=jdoe@domain,aturing@domain

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the refreshMembership operation:

1
2
3
4
5
6
POST /webadaptor/portaladmin/security/users/refreshMembership HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

users=jdoe@domain,aturing@domain&f=json

JSON Response example

1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close