pub fn replace_user<N, E>(&self, username: N, updates: UserUpdate<E>) -> Result<User<E>>
    where
        N: Into<String>,
        E: 'static + UserExtra + Serialize + DeserializeOwned,
    {
        self.execute(ReplaceUser::new(username.into(), updates))
    }
/// Replaces the data of an existing user.
///
/// The password can only be changed for the user set in the `Connector`.
/// To change the active status the user set in the `Connector` must have
/// permission to write to the system database.
///
/// # Arguments
///
/// * `username` : the name of the user for which the data shall be replaced
/// * `updates`  : the new data of the user
Replaces the data of an existing user.
The password can only be changed for the user set in the `Connector`.
To change the active status the user set in the `Connector` must have
permission to write to the system database.
Replaces the data of an existing user . The password can only be changed for the user set in the ` Connector ` . To change the active status the user set in the ` Connector ` must have permission to write to the system database .
pub fn replace_user<N, E>(&self, username: N, updates: UserUpdate<E>) -> Result<User<E>>
    where
        N: Into<String>,
        E: 'static + UserExtra + Serialize + DeserializeOwned,
    {
        self.execute(ReplaceUser::new(username.into(), updates))
    }
pub fn replace_user < N , E > ( & self , username : N , updates : UserUpdate < E > ) -> Result < User < E > > where N : Into < String > , E : ' static + UserExtra + Serialize + DeserializeOwned , { self . execute ( ReplaceUser :: new ( username . into ( ) , updates ) ) }
Replaces the data of an existing user.
Replaces the data of an existing user .
&self
username
N
updates
UserUpdate<E>
&self
username
N
updates
UserUpdate<E>