Function wasmer_api::query::current_user_with_namespaces

source ยท
pub async fn current_user_with_namespaces(
    client: &WasmerClient,
    namespace_role: Option<GrapheneRole>,
) -> Result<UserWithNamespaces, Error>
Expand description

Get the currently logged in user, together with all accessible namespaces.

You can optionally filter the namespaces by the user role.