class KUserGroup |
|
|
Create an object from a group name.
If the group does not exist, isValid() will return false.
name - the name of the group |
|
Create an object from a group name.
If the group does not exist, isValid() will return false.
name - the name of the group |
|
Create an object from the group of the current user.
mode - if #KUser.UseEffectiveUID is passed the effective user will be used. If #KUser.UseRealUserID is passed the real user will be used. The real UID will be different than the effective UID in setuid programs; in such a case use the effective UID for checking permissions, and the real UID for displaying information about the group associated with the user. |
|
Create an object from a group id.
If the group does not exist, isValid() will return false.
gid - the group id |
|
Creates an object from a group structure.
If the pointer is null, isValid() will return false.
g - the group structure to create the group from. |
|
Creates a new KUserGroup instance from another KUserGroup object
group - the KUserGroup to copy |
|
|
|
|
|
|
Returns a list of all group names on this system |
|
Returns a list of all groups on this system |
|
Returns the group id of the group. Returns the group id of the group or -1 if the group is invalid |
|
Returns whether the group is valid. A KUserGroup object can be invalid if it is created with a non-existing gid or name. Returns true if the group is valid |
|
The name of the group. Returns the name of the group |
|
Two KUserGroup objects are not equal if their gid()s are not identical. Invalid groups always compare unequal. Returns true if the groups are not identical |
|
Two KUserGroup objects are equal if their gid()s are identical. Invalid groups never compare equal. Returns true if the groups are identical |
|
Returns a list of all user login names of the group. Returns a list of all user login names of the group |
|
Returns a list of all users of the group. Returns a list of all users of the group |