Sun Java System Access Manager 7 2005Q4 C API Reference

am_sso_get_principal()

Gets the principal of this session.

Syntax

#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:

sso_token_handle

The SSO token handle.

Returns

This function returns the principal of this session handle, NULL if the sso_token handle is invalid or any other error occurred.