diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-24 17:48:53 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-24 17:48:53 -0500 |
commit | eda6544a12c13711c6a81f944f56de92391c0854 (patch) | |
tree | 643c82f3d99ab1da3269c5f93cd3c51bf5a4ec16 /src/user.c | |
parent | e3c58ec8361fdabd01947803688ccc519475dab0 (diff) |
Add a function to get the uid of a user
Diffstat (limited to 'src/user.c')
-rw-r--r-- | src/user.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -773,6 +773,12 @@ user_local_get_object_path (User *user) return user->object_path; } +uid_t +user_local_get_uid (User *user) +{ + return user->uid; +} + static void throw_error (DBusGMethodInvocation *context, gint error_code, |