get_user_by_id


Description:

public unowned User get_user_by_id (uint id)

Retrieves a pointer to the User object for the user with the given uid from this.

Trying to use this object before its is_loaded property is true will result in undefined behavior.

Parameters:

this

the manager to query.

id

the uid of the user to get.

Returns:

User object