Validates that a company user belongs to a specific company for security and access control purposes.
model (IsCompanyUserBelongsToCompanyQueryRequest) — Validation parameters including:
userId (guid, required) — Unique identifier of the company user.companyId (guid, required) — Company identifier to verify against.IsCompanyUserBelongsToCompanyQueryResponse containing validation result (true if user belongs to company, false otherwise).
The access token received from the authorization server in the OAuth 2.0 flow.
The identifier of the company to verify against.
The identifier of the company user being checked.
Always returned with validation result. Note that success: true with result: false means validation completed but user does not belong to company.
Standard response structure containing operation status and error information. Represents the response returned when verifying whether a user belongs to a company.
True if the operation completed successfully; false if an error occurred.
true
Result code indicating the outcome of the operation.
Unknown, Success, BadRequest, Unauthorized, NotFound, Error 200
Human-readable error message when an error occurs.
null
Indicates whether the user belongs to the provided company.