DWC_GetAuthenticatedUserId

C Specification

#include <dwc.h>

u64 DWC_GetAuthenticatedUserId( void );

Description

This function gets the authenticated user ID that is stored in a Nintendo DS. It will return 0 if the user ID has not been authenticated.
This function should not be called during internet connection processing.

The user ID is a decimal value with a maximum of 13 digits consisting of the Nintendo Wi-Fi Connection ID with the last three digits removed. The Nintendo Wi-Fi connection ID can be checked in Options from Nintendo Wi-Fi Connection Setup.

The first time the DWC_Init function is called on a given DS system, a temporary user ID will be created/saved in order to make it as unique as possible, regardless of the application.
Later, during the initial internet connection processing, the temporary user ID will be confirmed and registered with the Nintendo Authentication Server, and will become an authenticated user ID. At this time, if there is already an entry with the same ID as the temporary user ID registered with the Authentication Server, a separate, non-duplicate user ID will be issued.
For details about user IDs, reference the Nintendo Wi-Fi Connection NITRO-DWC Programming Manual.

Arguments

None.

Return Values

0 There is no authenticated user ID.
Non-zero The authenticated user ID.

See Also

DWC_Init

Revision History

2007/02/13 Initial version.


CONFIDENTIAL