Skip to main content

profile_deleted

Function profile_deleted 

Source
pub fn profile_deleted(
    store: &Store,
    id: &str,
    name: &str,
    keep: bool,
    owner: Option<&str>,
) -> Result<usize, String>
Expand description

Profile id (named name) is being deleted: its sign-ins move to Personal, tagged with where they came from, or are deleted with it (§9.4). Returns how many there were. owner is the agent (by permanent uid) whose own profile it is: the logins shared with that agent, and the “Always” it holds, end with the profile, so the profile made for it next starts with none (A9).