Removing a user from a rights group
To remove a user from a rights group:
- Use the RemoveUsersFromGroups operation to specify one or more MedML <RIGHTSGROUP> elements containing the rights group name and list of users to be removed from the group.
Specifying users:
- If the list of users includes a user that exists in the study, but not in the group you specify, the request to remove that particular user from the group is ignored. The users that are group members are removed from the group.
- If you include a user that is not in the study, a SOAP fault occurs with Invalid Data as the Fault Code, and an error message states that the user name was not found in the study. For more information, see How requests are processed.
GROUPNAME values are case-sensitive. If the GROUPNAME you specify does not exist, an error is returned.
Values: RIGHTSGROUP—Remove user from rights group
Field
Required?
Comments
GROUPNAME
Yes
USERREF (child element)
Yes
One or more usernames to remove from the group.