nn::friends::CTR::GetMyPrincipalId Function

Syntax

PrincipalId GetMyPrincipalId();

Arguments

None.

Return Values

Returns the local host's principal ID.

nn::friends::CTR::INVALID_PRINCIPAL_ID is returned if the library is uninitialized or if the local host has never connected to any server.
Value Description
INVALID_PRINCIPAL_ID Invalid principal ID.
Other The local host's principal ID.

Description

Gets the local host's principal ID.

Revision History

2011/03/11
Added specific examples of return values.
2010/08/16
Initial version.

CONFIDENTIAL