Skip to main content

actor_roles

Function actor_roles 

Source
pub fn actor_roles(
    app: &AppRuntime,
    actor_id: i64,
) -> Result<Vec<String>, DatabaseError>
Expand description

Loads the effective roles for an authenticated actor.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::feature_runtime::actor_roles.

§Examples

ⓘ
let _result = pharos_native::runtime::feature_runtime::actor_roles(todo!(), 1);