#include <dwc.h>
u64 DWC_GetAuthenticatedUserId( void );
Gets the authenticated user ID stored in the DS. If the user ID is not authenticated, the function will return 0.
Do not call this function while the connection to the Internet is being made.
The user ID is a decimal value of up to 13 digits that can be confirmed from an option in the Wi-Fi Connection Settings. It is derived by dropping the last three digits from the Wi-Fi Connection ID.
The user ID is created and saved when the DWC_Init is called for the first time. It is a provisional ID, designed to be as unique as possible to the pertinent DS, regardless of the application. When that DS later connects to the Internet for the first time, this provisional ID is checked and registered by the Nintendo Authentication Server, and thereafter becomes the user ID. If an ID exactly like the provisional ID is already registered in the Nintendo Authentication Server, another user ID will be issued to avoid duplication. To learn more about the user ID, please refer to the Nintendo Wi-Fi Connection NITRO-DWC Programming Manual.
None.
0 |
There is no authenticated user ID. |
Non-zero |
The authenticated user ID. |
2007/02/13 Initial version.
CONFIDENTIAL