Originally posted by **zhus** December 21, 2022
My connection string is "firebird://user:pass@server:3050/control.gdb?encoding=WIN1250&&roleName=R_USER"
but RoleName not passed to connection. So I found fn build_dpb and patched with
{
let role_name = "R_USER".to_string();
dpb.extend(&[ibase::isc_dpb_sql_role_name as u8, role_name.len() as u8]);
dpb.extend(role_name.bytes());
}
Is there a valid way to pass RoleName to connection?
with builder_native().with_dyn_load("fbclient.dll")
Discussed in https://github.com/fernandobatels/rsfbclient/discussions/137