- URL:https://<users-url>/refreshMembership(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege
- Version Introduced:10.3
Description
This operation iterates over every enterprise group configured in the portal and determines if the input user accounts belong to any of the configured enterprise groups. If there is any change in membership, the database and the indexes are updated for each user account. While portal automatically refreshes the memberships during a user login and during a periodic refresh (configured through the Update Identity Store operation), this operation allows an administrator to force a refresh.
Nota:
This operation is only supported if portal is configured with enterprise groups. This operation may take a while to complete if there are a substantial number of enterprise users and groups.
Request parameters
Parameter | Details |
---|---|
users | The comma separated list of user names for whom the memberships need to be refreshed. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample request URL for refreshMembership:
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
{"status": "success"}