Skip to main content

Get a Principal by ID 1

The following code sample illustrates how to get a principal using an ID.


Code Samples​

See the C++ environment settings for details on setting the project environment.

cpp_admin_principal_getbyid_1.cpp​

The complete source for this sample, together with its console output, is published in the SDK reference and is the maintained copy:

cpp_admin_principal_getbyid_1.cpp