Skip to main content

create_user

Function create_user 

Source
pub async fn create_user<Repo: Repository + Send + Sync + 'static, Search: SearchEngine + Send + Sync + 'static, Terminology: FHIRTerminology + Send + Sync + 'static>(
    services: &AppState<Repo, Search, Terminology>,
    tenant: &TenantId,
    user_resource: User,
    password: Option<&str>,
) -> Result<User, OperationOutcomeError>