Top | ![]() |
![]() |
![]() |
![]() |
gint64 | snapd_user_information_get_id () |
const gchar * | snapd_user_information_get_username () |
const gchar * | snapd_user_information_get_email () |
GStrv | snapd_user_information_get_ssh_keys () |
SnapdAuthData * | snapd_user_information_get_auth_data () |
A SnapdUserInformation object contains the information about local users
created using snapd_client_create_user_sync()
and
snapd_client_create_users_sync()
.
gint64
snapd_user_information_get_id (SnapdUserInformation *user_information
);
Get the id for this account.
Since: 1.26
const gchar *
snapd_user_information_get_username (SnapdUserInformation *user_information
);
Get the local username for this account.
Since: 1.3
const gchar *
snapd_user_information_get_email (SnapdUserInformation *user_information
);
Get the email address for this account.
Since: 1.26
GStrv
snapd_user_information_get_ssh_keys (SnapdUserInformation *user_information
);
Get the SSH keys added to this account.
Since: 1.3
SnapdAuthData *
snapd_user_information_get_auth_data (SnapdUserInformation *user_information
);
Get the email address for this account.
Since: 1.26
typedef struct _SnapdUserInformation SnapdUserInformation;
SnapdUserInformation contains information about a user account on the system snapd is running on.
Since: 1.3
“auth-data”
property“auth-data” SnapdAuthData *
Authorization data.
Owner: SnapdUserInformation
Flags: Read / Write / Construct Only
“email”
property “email” char *
Email address.
Owner: SnapdUserInformation
Flags: Read / Write / Construct Only
Default value: NULL
“id”
property “id” gint64
Account id.
Owner: SnapdUserInformation
Flags: Read / Write / Construct Only
Default value: -1
“ssh-keys”
property “ssh-keys” GStrv
SSH keys.
Owner: SnapdUserInformation
Flags: Read / Write / Construct Only