Method

MalcontentUserManagerget_all_users_finish

unstable since: 0.14.0

Declaration [src]

MctUser**
mct_user_manager_get_all_users_finish (
  MctUserManager* self,
  GAsyncResult* result,
  size_t* out_len,
  GError** error
)

Description [src]

Finish an asynchronous query operation started with mct_user_manager_get_all_users_async().

Available since: 0.14.0

Parameters

result

Type: GAsyncResult

Result of the asynchronous operation.

The data is owned by the caller of the method.
out_len

Type: size_t*

Return location for the array length of the return value.

The argument will be set by the function.
The argument can be NULL.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: An array of MctUser*

Array of users in an undefined order, may be empty.

The length of the array is in the out_len argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.