Skip to main content

update_user

Function update_user 

Source
pub fn update_user(
    store: &AuthStore,
    p: &Principal,
    id: i64,
    b: &UserChange,
) -> Result<Value, AuthError>
Expand description

Disable or enable a user, or make or unmake a platform admin. Nobody does either to themselves, and the platform keeps an enabled admin.