Method

HaslContextget_username

since: 0.1

Declaration [src]

const char*
hasl_context_get_username (
  HaslContext* ctx
)

Description [src]

Gets the username that has been set on ctx.

Available since: 0.1

Gets propertyHasl.Context:username

Return value

Type: const char*

The username if set, otherwise NULL.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.