Skip to main content
interface HasRoleResponse
has_role: boolean;
info: Record<string, string>;
principal: string;
request_time_secs?: number;
role: string;
has_role: boolean

Indicates whether the specified user has membership in the specified target role.

info: Record<string, string>

Additional information.

principal: string

Value of principal.

request_time_secs?: number

Server-reported request time in seconds, when it sent one

role: string

role for which membership is being checked.