Top |
PolkitIdentity * | polkit_unix_user_new () |
PolkitIdentity * | polkit_unix_user_new_for_name () |
gint | polkit_unix_user_get_uid () |
void | polkit_unix_user_set_uid () |
const gchar * | polkit_unix_user_get_name () |
PolkitIdentity *
polkit_unix_user_new (gint uid
);
Creates a new PolkitUnixUser object for uid
.
PolkitIdentity * polkit_unix_user_new_for_name (const gchar *name
,GError **error
);
Creates a new PolkitUnixUser object for a user with the user name
name
.
gint
polkit_unix_user_get_uid (PolkitUnixUser *user
);
Gets the UNIX user id for user
.
void polkit_unix_user_set_uid (PolkitUnixUser *user
,gint uid
);
Sets uid
for user
.
const gchar *
polkit_unix_user_get_name (PolkitUnixUser *user
);
Get the user's name.
typedef struct _PolkitUnixUser PolkitUnixUser;
The PolkitUnixUser struct should not be accessed directly.