---
title: "FindByUserAndRole - find the record of specific user having a specific role (useful to check if it exists)"
slug: "findbyuserandrole-find-the-record-of-specific-user-having-a-specific-role-useful-to-check-if-it-exists"
updated: 2026-05-26T12:53:14Z
published: 2026-05-26T12:53:48Z
canonical: "developers.cmicglobal.com/findbyuserandrole-find-the-record-of-specific-user-having-a-specific-role-useful-to-check-if-it-exists"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developers.cmicglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FindByUserAndRole - find the record of specific user having a specific role (useful to check if it exists)

Get/sys-rest-api/rest/1/userrolesec

SecurityHTTPType basic

Basic authentication

Query parametersfinderstringExampleFindByUserAndRole;userCode=VP,roleCode=VPROLE

Responses200

Successful response

<select class='api-response-data' aria-label='Media type'><option value='4160599c-5274-4283-b000-58d3ce94cd9d'>application/json</option>
</select>
