Load list of user groups

This API retrieves the list of user groups.

Example API call

/lcapi?book=1&collection=1&target=admin&action=get_user_groups

Parameters

ParameterDescription
targetadmin
actionget_user_groups
bookThe id of the publication, an integer, such as 1.
collection The id of the collection, an integer, such as 1.

Returns

On success
<USER_GROUPS>
	     <USER_GROUP>ADMINISTRATOR</USER_GROUP>
	     <USER_GROUP>BUYER</USER_GROUP>
	     <USER_GROUP>DEVELOPER</USER_GROUP>
	     <USER_GROUP>EDITOR</USER_GROUP>
	     <USER_GROUP>GUEST</USER_GROUP>
	     <USER_GROUP>USER</USER_GROUP>
</USER_GROUPS>
On failure
Returns nothing