17#include "kanoopcommon.h"
static QString nameFromUid(uid_t uid)
Return the user name for a numeric UID.
static QString nameFromGid(gid_t gid)
Return the group name for a numeric GID.
static QString currentUserName()
Return the login name of the current user (cross-platform).
static uid_t uidFromName(const QString &name)
Look up the numeric UID for a user name.
static bool isUserMemberOfGroup(uid_t uid, gid_t gid)
Test whether a user is a member of a group.
static QString currentUserFullName()
Return the full (display) name of the process owner.
static uid_t currentUser()
Return the UID of the process owner.
static gid_t gidFromName(const QString &name)
Look up the numeric GID for a group name.