Method

AstalAuthPamset_username

Declaration

void
astal_auth_pam_set_username (
  AstalAuthPam* self,
  const gchar* username
)

Description

Sets the username to be used for authentication. This must be set to before calling start_authenticate. Changing it afterwards has no effect on the authentication process.

Defaults to the owner of the process.

Sets propertyAstalAuth.Pam:username

Parameters

username

Type: const gchar*

The new username.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.