Skip to main content

parse_existing_local_user_id

Function parse_existing_local_user_id 

Source
pub(crate) async fn parse_existing_local_user_id(
    services: &Services,
    user_id: &str,
) -> Result<OwnedUserId>
Expand description

Parses user ID as our local user holding an account, deactivated or not.

A command writing for an absent user would create the account or leave state behind for whoever registers the name later, so it refuses here.