[Qt-interest] Evaluating system login info

Brad Hards bradh at frogmouth.net
Sat May 14 18:50:06 CEST 2011


On Saturday 14 May 2011 10:39:30 Petric Frank wrote:
> is there a platform independent way to obtain user information like logon
> id/name and groups the user is member of ?
kdelibs has a class called KUser that I believe is reasonably cross-platform.

http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKUser.html#a9b40eb7d7a27e78f1a25592640d7e852

Of course, depending on what environment you're working on, those concepts may
not make any sense (e.g. there may not be any groups).

Brad



More information about the Qt-interest-old mailing list