pub fn emit_user_membership_tenant_ids(
root: &Value,
user_id: i64,
) -> Option<String>Expand description
Emits the tenant ids associated with one user’s active memberships as JSON.
§Parameters
root: Input consumed bycrate::runtime::json_commands::emit_user_membership_tenant_ids.user_id: Input consumed bycrate::runtime::json_commands::emit_user_membership_tenant_ids.
§Returns
Returns Some when crate::runtime::json_commands::emit_user_membership_tenant_ids can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::emit_user_membership_tenant_ids.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::emit_user_membership_tenant_ids(std::path::Path::new("."), 1);§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.