SC_Client_CreateUsersController()
Creates a users controller, which can be used to retrieve lists of User objects from the server.
Synopsis:
#include <scoreloop/sc_client.h>
SC_Error_t SC_Client_CreateUsersController(SC_Client_h self, SC_UsersController_h *pUsersController, SC_RequestControllerCompletionCallback_t callback, void *cookie)
Arguments:
- self
-
Opaque handle for the current client instance.
- pUsersController
-
Opaque handle for the controller that will be created.
- callback
-
Handle to be registered for callback
- cookie
-
This will be passed back to the controller's callback and using this, users can use the same callback for multiple controllers if they wish to.
Library:
libscoreloopcoreDescription:
This method creates an instance of SC_UsersController. The controller is used to lists of SC_User objects from the server based on various criteria.
Returns:
SC_Error_t A return code (A value of SC_OK indicates success, any other value indicates an error).