Default Group
The following code sample illustrates how to set a principal's default group.
Code Sample
See the C++ environment settings for details on setting the project environment.
cpp_admin_principal_defaultgroup_set.cpp
The complete source for this sample, together with its console output, is published in the SDK reference and is the maintained copy: