Top | ![]() |
![]() |
![]() |
![]() |
GList * | thunar_vfs_user_get_groups () |
ThunarVfsGroup * | thunar_vfs_user_get_primary_group () |
ThunarVfsUserId | thunar_vfs_user_get_id () |
const gchar * | thunar_vfs_user_get_name () |
const gchar * | thunar_vfs_user_get_real_name () |
gboolean | thunar_vfs_user_is_me () |
GList *
thunar_vfs_user_get_groups (ThunarVfsUser *user
);
Returns all ThunarVfsGroups that user
belongs to. The returned list and the ThunarVfsGroups
contained within the list are owned by user
and must not be
freed or altered by the caller.
Note that if user
has a primary group, this group will
also be contained in the returned list.
ThunarVfsGroup *
thunar_vfs_user_get_primary_group (ThunarVfsUser *user
);
Returns the primary group of user
or NULL
if user
has no primary group.
No reference is taken for the caller, so you must
not call g_object_unref()
on the returned object.
ThunarVfsUserId
thunar_vfs_user_get_id (ThunarVfsUser *user
);
Returns the unique id of user
.
const gchar *
thunar_vfs_user_get_name (ThunarVfsUser *user
);
Returns the name of user
. If the system is
unable to determine the account name of user
,
it'll return the user id as string.
const gchar *
thunar_vfs_user_get_real_name (ThunarVfsUser *user
);
Returns the real name of user
or NULL
if the
real name for user
is not known to the underlying
system.
gboolean
thunar_vfs_user_is_me (ThunarVfsUser *user
);
Checks whether the owner of the current process is
described by user
.