Gets the principal of this session.
#include "am_sso.h" AM_EXPORT const char * am_sso_get_principal(const am_sso_token_handle_t sso_token);Parameters
This function takes the following parameter:
The SSO token handle.
This function returns the principal of this session handle, NULL if the sso_token handle is invalid or any other error occurred.