libnx/nx/include/switch/services/account.h
2017-11-29 23:31:18 -05:00

7 lines
323 B
C

Result accountInitialize(void);
void accountExit(void);
Handle accountGetSessionService(void);
/// Get the userID for the currently active user. The output userID is only valid when the output account_selected==1, otherwise no user is currently selected.
Result accountGetActiveUser(u128 *userID, bool *account_selected);