nn::friends::CTR::GetMyPrincipalId Function

Syntax

PrincipalId GetMyPrincipalId();

Parameters

None.

Return Values

Returns the local host's principal ID.

Returns nn::friends::CTR::INVALID_PRINCIPAL_ID if the library is uninitialized or if the local host has never connected to any server.

Value Description
INVALID_PRINCIPAL_ID The principle ID is invalid.
Other The class's own principle 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