Retrieves the principal (user) associated with the specified single sign-on token handle.
#include "am_sso.h" AM_EXPORT const char * am_sso_get_principal(const am_sso_token_handle_t sso_token);
This function takes the following parameter:
Pointer to a am_sso_token_handle_t type.
This function returns the principal (user) of the specified session, or NULL if the handle is invalid or any other error occurred.