-obtener_datos_usuario = " SELECT login, nrodoc, nombre FROM samurai.usuario "
+obtener_datos_usuario = " SELECT login FROM samurai.perfil_sist_usuario "
+obtener_datos_usuario2 = " SELECT DISTINCT login FROM samurai.perfil_sist_usuario WHERE id_sistema = ? "
obtener_datos_usuario3 = " WHERE login = ? "
obtener_datos_usuario4 = " ORDER BY login"
-obtener_datos_usuario2 = " SELECT DISTINCT u.login as login FROM samurai.usuario as u, samurai.perfil_sist_usuario as psu WHERE u.login = psu.login AND id_sistema = ? "
+
obtener_perfiles_usuario = " SELECT id_perfil FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"
verificar_login = " SELECT count(*) as cuenta FROM samurai.usuario WHERE login = ?"
+verificar_login2 = " SELECT login FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"
borrar = " DELETE FROM samurai.perfil_sist_usuario WHERE login = ? AND id_sistema = ?"