Skip to main content

dynamic_user_has_active_tenant_membership

Function dynamic_user_has_active_tenant_membership 

Source
pub fn dynamic_user_has_active_tenant_membership(
    root: &Value,
    user_id: i64,
    tenant_id: i64,
) -> bool
Expand description

Checks for an active tenant membership row.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::business::dynamic_user_has_active_tenant_membership holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::business::dynamic_user_has_active_tenant_membership.

§Examples

ⓘ
let _result = pharos_native::runtime::business::dynamic_user_has_active_tenant_membership(std::path::Path::new("."), 1, todo!());