SC_UserController_LoadUserFromHandle()
Requests attribute information for the user.
Synopsis:
#include <scoreloop/sc_user_controller.h>
SC_Error_t SC_UserController_LoadUserFromHandle(SC_UserController_h self, SC_UserHandle_h userHandle)
Arguments:
- self
-
SC_UserController instance handle
- userHandle
-
User handle to load info for.
Library:
libscoreloopcoreDescription:
User is given as handle.
If no user has been provided, attributes for the current session user will be requested instead.
Note that this is an asynchronous call and a callback will be triggered, after which you can access the retrieved user by calling SC_UserController_GetUser().
Returns:
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).