Method

MsgUserServiceget_user

Declaration [src]

MsgUser*
msg_user_service_get_user (
  MsgUserService* self,
  char* name,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Get user information.

Parameters

name char*
 

User name (NULL for me)

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

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: MsgUser
 

Request user.

 The caller of the method takes ownership of the data, and is responsible for freeing it.