libnx/nx/include/switch/services/acc.h
2017-12-27 18:52:52 -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);