Skip to main content
interface HasRoleRequest
options?: Record<string, string>;
principal?: string;
role: string;
options?: Record<string, string>

Optional parameters.

principal?: string

Name of the user for which role membership is being checked. Must be an existing user. If blank, will use the current user.

role: string

Name of role to check for membership.