Search system users
Finds the users the caller may see in the console's Users grid, one page at a time: the users of every role the caller's role has VIEW access to (a Network Manager sees the publishers, advertisers and other accounts it manages).
https://YOUR-NETWORK-DOMAIN/rest-api/system-users/search.do Finds the users the caller may see in the console's Users grid, one page at a time: the users of every role the caller's role has VIEW access to (a Network Manager sees the publishers, advertisers and other accounts it manages). 'query' matches a substring of the username, e-mail, first name, last name or admin comment. 'roles' narrows the result to roles given by id or name (comma-separated, names case-insensitive); a role the caller cannot see yields no users, and a value that names no role at all is refused with the list of roles the caller can see. Use the returned userId wherever an endpoint asks for a user, e.g. advertiser or site shares. A caller with MANAGE_ROLE also sees the users whose role was deleted (roleId null) - except former administrators, which only an administrator sees - so that they can be given a role; until then they cannot be shared with. Passwords and API keys are never returned.
Query Params
activeOnly boolean
When true, only active (not deactivated) users are returned
false limit integer
Page size, 1 to 500
50 query string
Substring of the username, e-mail, first name or last name. Omit to list everyone visible.
mara roles string
Comma-separated role ids or role names (case-insensitive), e.g. '4,Publisher'. Omit for every visible role.
Advertiser start integer
0-based offset of the first user to return
0 Responses
200
Page of users sorted by userId: {success, total, start, limit, users:[{userId, username, email, firstName, lastName, roleId, role, status, created, referer, referredUsers}]}
400
A 'roles' value names no role, or 'start'/'limit' is out of range
401
Unauthorized — authentication error
403
Forbidden — insufficient permissions