pub fn new_user(
    service: &ZapService,
    contextid: String,
    name: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("contextId".to_string(), contextid);
    params.insert("name".to_string(), name);
    super::call(service, "users", "action", "newUser", params)
}
/**
 * Creates a new user with the given name for the context with the given ID.
*/
Creates a new user with the given name for the context with the given ID.
Creates a new user with the given name for the context with the given ID .
pub fn new_user(
    service: &ZapService,
    contextid: String,
    name: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("contextId".to_string(), contextid);
    params.insert("name".to_string(), name);
    super::call(service, "users", "action", "newUser", params)
}
pub fn new_user ( service : & ZapService , contextid : String , name : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , contextid ) ; params . insert ( " " . to_string ( ) , name ) ; super :: call ( service , " " , " " , " " , params ) }
Creates a new user with the given name for the context with the given ID.
Creates a new user with the given name for the context with the given ID .
service
&ZapService
contextid
String
name
String
service
&ZapService
contextid
String
name
String