Function oc_wasm_safe::computer::add_user[][src]

pub fn add_user(name: &str) -> Result<()>
Expand description

Grants access to the computer to a user.

The name parameter is the Minecraft username of the user to grant access to.

Errors

  • Other is returned if adding the user failed.