Autor Beitrag
recall
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Fr 21.11.03 20:56 
Hallo,

Wie kann ich den per SQL einen neuen user anlegen, einen löschen und vor allem wie UND WELCHE Rechte kann ich vergeben ?
Wie ändere ich das SYSDBA-Passwort ?
Datenbank = Interbase

Hilfe !

Viele Grüsse :D
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Fr 21.11.03 21:53 
Versuche mal einen Rechtsklick auf Deine Database-Komponte.

_________________
Gruß
Hansa
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Fr 21.11.03 22:44 
Ich fragte doch in SQL, nix Rechtsklick !
Ich will das zur Laufzeit ändern. Ich wüsste auch nicht, was der SQL-Befehl mit den Kompos zu tun haben sollte, aber bitte: IBX-Kompos !
(siehe anderes Posting) !

Viele Grüsse.
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Sa 22.11.03 11:35 
ausblenden Delphi-Quelltext
1:
2:
DataBase1.ConnectParams.UserName := Edit1.Text;
DataBase1.ConnectParams.password  := Edit2.Text;

_________________
Gruß
Hansa
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Sa 22.11.03 12:58 
ausblenden Delphi-Quelltext
1:
2:
DataBase1.ConnectParams.UserName := Edit1.Text; 
DataBase1.ConnectParams.password  := Edit2.Text;
=> User existiert nicht. Anmeldung fehlgeschlagen ;) => ??
Wie meinst du das denn (genauer) ?

Viele Grüsse.
svenson08
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 87



BeitragVerfasst: So 23.11.03 14:39 
ausblenden Quelltext
1:
2:
DataBase1.ConnectParams.UserName := Edit1.Text; 
DataBase1.ConnectParams.password  := Edit2.Text;


Das hat aber nicht mit dem erstellen eines neuen Interbase-Benutzers noch mit irgendeiner Rechte vergabe zu tun.

Mir selbst stellt sich nämlich die selbe frage.

Sascha
Ingo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 19



BeitragVerfasst: Mo 24.11.03 12:12 
Hallo

Wie man User per SQL in Interbase für den Server irgendweche User anlegen bzw bearbeiten kann weiß ich nicht, aber es gibt eine Komponente IBSecurityService im Reiter Interbase Admin damit kann man Benutzer bearbeiten und anlegen.
Ich habe mit dieser Komponente selbst aber noch nicht gearbeitet da ich FibPlus benutze.

Bei weiteren Fragen zu dieser Komponente versuche ich aber zu helfen.

Gruß Ingo