Re: Finding Out Current User

2011-07-21 Thread Volker Krause
On Thursday 21 July 2011 01:27:43 Milian Wolff wrote: > Steven Sroka, 21.07.2011: > > Hey everyone, > > > > How would a program know what user is currently logged in? I would > > like a program of mine to run and execute a task when a specific user > > is logged in, but not right a log in. > > Af

Re: Finding Out Current User

2011-07-20 Thread Thomas Lübking
Am Wed, 20 Jul 2011 19:14:01 -0400 schrieb Steven Sroka : > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. a) which level b) what user? ("you"/daemon user or somebod

Re: Finding Out Current User

2011-07-20 Thread Parker Coates
On Wed, Jul 20, 2011 at 19:14, Steven Sroka wrote: > Hey everyone, > > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. #include KUser user; if ( user.loginName() ==

Re: Finding Out Current User

2011-07-20 Thread Milian Wolff
Steven Sroka, 21.07.2011: > Hey everyone, > > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. Afair the KABC stuff was supposed to handle that, not sure about the cur

Re: Finding Out Current User

2011-07-20 Thread Brian K
On 07/20/11 18:14, Steven Sroka wrote: > Hey everyone, > > How would a program know what user is currently logged in? I would > like a program of mine to run and execute a task when a specific user > is logged in, but not right a log in. > > Steve > >>> Visit http://mail.kde.org/mailman/listinfo/

Finding Out Current User

2011-07-20 Thread Steven Sroka
Hey everyone, How would a program know what user is currently logged in? I would like a program of mine to run and execute a task when a specific user is logged in, but not right a log in. Steve >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<