Re: wie Name des eingelogten Nutzers ermitteln

Tilo Riemer <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo Jürgen,

Jürgen Sachs wrote:
> Hallo,
> 
> kurze Frage:
> wie kann ich den Namen des eingelogten Nutzers von c++/qt aus
> ermitteln ?

getenv("USER")

Viele Grüße, Tilo

-- 
Tilo Riemer & Frank Hemer GbR
mailto:[email protected]
http://www.lincvs.com
Dresden, Germany


-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.