Function ccash_rs::methods::admin::add_user [−][src]
pub async fn add_user(
session: &CCashSession,
admin_user: &CCashUser,
new_user: &CCashUser,
amount: u32
) -> Result<bool, CCashError>
Expand description
Adds a user
to the CCash session described by
session
with the balance determined by amount
. This
function requires that admin_user
to be the admin account.