Difference between revisions of "Account services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 12: Line 12:
 
| 3 || get_unk_key
 
| 3 || get_unk_key
 
|-
 
|-
| 4 || GetActiveUser
+
| 4 || [[#GetActiveUser]]
 
|-
 
|-
 
| 5 || RegisterInterface_Profile
 
| 5 || RegisterInterface_Profile
Line 42: Line 42:
 
| 999 ||
 
| 999 ||
 
|}
 
|}
 +
 +
== GetActiveUser ==
 +
Returns the 0x10-byte userID.
 +
 +
Returns 0 with output=all-zero if an user account was never selected.
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 00:43, 7 July 2017

acc:u1

Cmd Name
0 GetNumActiveUsers
1 DoesUserExist
2 GetOpenUserIDs
3 get_unk_key
4 #GetActiveUser
5 RegisterInterface_Profile
50 GetSelectedPlayer?
51 GetSelectedPlayer2?
100 RegisterInterface_Notifier
101 RegisterInterface2_Notifier
102 RegisterInterface_Baas
103 RegisterInterface3_Notifier
104 RegisterInterface4_Notifier
110
111
112
190
998
999

GetActiveUser

Returns the 0x10-byte userID.

Returns 0 with output=all-zero if an user account was never selected.